Skip to main content
GameDev.net gamedev.net
🔒 Locked

Which compiler

Started by nickmerritt Apr 23, 2004 at 10:31 PM 4 replies 400+ views
Original Post
nickmerritt
nickmerritt
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
KaBeZa
KaBeZa
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]
bastard2k5
bastard2k5
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.
UltimaX
UltimaX
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!"
nickmerritt
nickmerritt
Ok, thanks, maybe using command line commpilers will break my habit of compiling just to check syntax lol
Thanks,
Nick
Nick

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.