Advertisement

Linux

Started by March 11, 2002 02:36 PM
4 comments, last by WP 22 years, 9 months ago
How do I program stuff for Linux?
My advice is to find a tutorial for C or C++. The GNU compiler''s for both of them come with almost every distro. You can use VI or EMACS to write the code, or something more Windows-ish like NEdit, KDevelop (a full IDE), or Anjuta (another full IDE). Those two IDE''s will hide you from makefiles, which are needed for larger projects. Autoconf is another useful tool; for the future . XLib is nice to know for low-level X programming. GTK+ and Qt are the two common libraries for GUI programming. OpenGL for 3D, of course. Look up a reference for POSIX functions for a whole lot of generic stuff that you''d normally use the Win32 API for in Windows.

Advertisement
dont waste your time with linux, get on with windows and directx if you are serious about game programming
quote: Original post by WP
How do I program stuff for Linux?

This question is so open I don''t know where to begin. I mean, what "stuff" do you want to program? What language do you want to use? Do you have a Linux box? Do you know how to program at all?
I know C++, DirectX, and can program on Windows fully, bot bored with Windows, so i wnat to move on to Linux.
A good standard Linux distribution ( a distro ) like Redhat7.2 comes with everything required for games programming.
A standard desktop default installation will install the following components:
the gcc ( gpp for C++ ) c compiler, SDL ( simple Direct Media ) cross platform ( yes, you can even port your games to windows ) runtime libraries for 2D graphics sound and gamepads, the Gimp for drawing your bitmaps and OpenGL when you''ll "graduate" to 3D games programming.
Redhat also includes on the distribution CD the SDL development libraries so you can program your own games using the easy SDL methods.
Need a reference book, just buy "programming linux games" from nostarch press.
And voila, for the price of the few pints of beer you are in business.
Welcome to the Real OS my friend


This topic is closed to new replies.

Advertisement