Advertisement

Which compiler

Started by April 23, 2004 10:31 PM
4 comments, last by nickmerritt 20 years, 6 months ago
I''m just wondering which compiler to use to code C++ programs using SDL ect... I just installed Linux, Redhat9. Works great! Should i use KDevelop? I really want an IDE not a command line compiler. Preferably one already installed. Nick Merritt
Nick
Hi
You should use G++ to compile c++ programs.
You will need to pass a flag like this to link it with the SDL library.

g++ 'sdl-config --cflags --libs` file.cpp -o file

See you

[edited by - Kabeza on April 23, 2004 11:39:43 PM]
Advertisement
IDE''s are overrated, it''s better just to learn how to use make then just use gvim(or emacs if you''re one of those ppl) and make to do all your compiling needs..

Plus I don''t think there''s an alternative to KDevelop
GCC 3.4, as for IDE, I am not sure, I guess try anjuta... I prefer to use Emacs for very quick things, although emacs + make + GCC + GDB is a fairly good development system.
At work when I program on Linux I use VIM and it''s pretty good. It''s not an IDE, but once you get the hang of the keys it''s pretty cool. It''s just an editor though, I use g++ to do the actual compiling though. When I do the programs for Windows at work I use DevC++. Just some ideas.

-UltimaX-
|Designing A Screen Shot System|

"You wished for a white christmas... Now go shovel your wishes!"
Ok, thanks, maybe using command line commpilers will break my habit of compiling just to check syntax lol
Thanks,
Nick
Nick

This topic is closed to new replies.

Advertisement