linux compiler tools for C
lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Sat Jul 24 03:28:45 UTC 2004
On Fri, Jul 23, 2004 at 11:02:49PM -0400, Anton Markov wrote:
> It's hard even for (almost) native english speakers like myself to
> understand sloppy english :(.
> E-mail is not a chat-room. You have time to think and re-read what you
> write. Let's at least *try* to use proper English.
> But let's not start a flamewar over this :)
> Back to Aaron's question:
> As I have mentioned in my previous post, there is really no difference
> between Linux and Windows programming as far as pure C is concerned. I
> don't believe "Sam's teach your self C in 21 days" (a good book by the
> way) goes into GUI programming. It covers the basics of the actual
> language, which are the same across (all?) platforms.
> You can't write "true" cross platform apps in C. At the very least you
> have to re-compile them for every platform (Win32, Linux/ELF, Mac,
> etc.). As long as your programs are command-line based ("dos boxes"),
> they will run fine.
> I don't know if you are interested in GUI programming (windows, buttons,
> text boxes, etc.), but here it goes:
> The real problem is when you get into GUI programming. There are many
> "toolkits" available for Linux to help you write GUI programs, but most
> are not cross-platform. I believe "wxWindows" and "GTK" are
> cross-platform, as is QT (but you have to pay $$ for the Windows
> version). I wouldn't rush into GUI programming just yet; first master
> the basics of the language.
SDL/wxWindows combo seems to be pretty decent for avoiding most of the
hassles of making a program work on more than one OS. wxWindows can use
GTK on Linux and MFC on Windows, which makes it look nice on both.
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy