Newbie Question
What API should I use for programming in linux?
http://users.50megs.com/crazyvasey/
SDL. http://www.libsdl.org
After you get more comfortable, I highly suggest checking out the alternatives for yourself, but right now, SDL is professional, has lots of documentation, and is fairly easy, if you have other game programming background.
-benc
Crackpot Productions--
Senior Cracked Pot--
Benc
After you get more comfortable, I highly suggest checking out the alternatives for yourself, but right now, SDL is professional, has lots of documentation, and is fairly easy, if you have other game programming background.
-benc
Crackpot Productions--
Senior Cracked Pot--
Benc
Crackpot Productions--Senior Cracked Pot--Benc
OK I''ll try that. Is gcc a good compiler?
http://users.50megs.com/crazyvasey/
http://users.50megs.com/crazyvasey/
It sure is.
I'm reminded of the day my daughter came in, looked over my shoulder at some Perl 4 code, and said, "What is that, swearing?" - Larry Wall
PGCC (Pentium GCC) generates even faster code, but I suggest getting comfortable with the Linux/GCC/SDL development platform before moving to PGCC.
To give you an example of the quality of GCC:
My radiosity processor with a certain scene runs:
- 2m 38sec on Win2k with Visual C++ 6.0, max optimizing
- 2m 04sec on Win2k with Intel C/C++ 4.0, max optimizing
- 2m 05sec on Linux, glibc 2.1, gcc 2.95, max optimizing
- 1m 56sec on Linux, glibc 2.1, pgcc 2.95, max optimizing
This on an AMD Athlon. The run time is just the pure calculation with both a lot of integer work and a lot of floating point. Max optimizing means options set to obtain the fastest results.
Not bad for a free compiler, eh?
DaBit.
To give you an example of the quality of GCC:
My radiosity processor with a certain scene runs:
- 2m 38sec on Win2k with Visual C++ 6.0, max optimizing
- 2m 04sec on Win2k with Intel C/C++ 4.0, max optimizing
- 2m 05sec on Linux, glibc 2.1, gcc 2.95, max optimizing
- 1m 56sec on Linux, glibc 2.1, pgcc 2.95, max optimizing
This on an AMD Athlon. The run time is just the pure calculation with both a lot of integer work and a lot of floating point. Max optimizing means options set to obtain the fastest results.
Not bad for a free compiler, eh?
DaBit.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement