|
-
June 22nd, 2003, 09:02 PM
#1
c and linux
I have never worked on linux and unix. Now i need to compile and run my C programs on linux. Can anyboby please guide me with some basic commands and steps to do so
one more help: is there any interfcae support like MFC (of windows) for linux
thanks
-
June 22nd, 2003, 09:28 PM
#2
One solution is "gcc source.c."
One good C++ windows programming tool for Linux is Borland Kylix.
Kuphryn
-
June 23rd, 2003, 04:24 AM
#3
There are two main window managers for Linux, KDE and Gnome. I'm sure you have come across them before.
KDE uses the QT libraries made by Trolltech (which is a commercial company). These libraries are also available for Windows and the Mac, but you have to pay for them if your program is commercial. They contain a lot of similar things to MFC. To develop with KDE, use KDevelop, it should actually already come with your linux distribution. It is an IDE a bit like VC with integrated help about KDE and QT (provided you have installed the documentation). You can also program Gnome applications with KDevelop. QT and hence KDE is all C++ based with classes etc.
Gnome uses GTK+. This is another set of libraries that you can use to program windowed applications under Linux. To write simple applications, use Glade. GTK+ is totally LGPL, so you can develop commercial applications with it for free (provided you link dynamically to the gtk+ libraries). GTK+ is also available for Windows, BeOS and the Mac. It uses C-style interfaces, so it's less object oriented.
I prefer to use GTK+, but that's a personal decision.
Get this small utility to do basic syntax highlighting in vBulletin forums (like Codeguru) easily.
Supports C++ and VB out of the box, but can be configured for other languages.
-
June 24th, 2003, 10:03 AM
#4
Borland Kylix is good because it's portable between Windows/Linux, you can do cross-development fairly easy.
Look also at www.wxwindows.org for another cross-platform windowing library.
good luck!
-
June 24th, 2003, 08:58 PM
#5
thanks..
i think it iwll help me
-
June 25th, 2003, 03:50 AM
#6
And what about fltk GUI OS-portable library? Any opinions?
"...when the music's over, turn out the lights."
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|