vishnu wrote:
The original source code to tenmillion.c is here:
http://www.oss.sgi.com/projects/performer/mail/info-performer/perf-96-11/0181.html
I got it to compile and run on my Linux box by changing the call to gettimeofday() to include a timezone struct and by changing the return type of main() to int. I'll try it on my SGI as soon as I get some caffeine into my system tomorrow morning...
If anyone's interested, to compile it (on Linux) I used:
gcc -Wall -L/usr/X11/lib -lGL -lGLU tenmillion.c -o tenmillion.c.exe
The -Wall switch is optional, but interesting. I always use it when I compile other people's code...
http://www.oss.sgi.com/projects/performer/mail/info-performer/perf-96-11/0181.html
I got it to compile and run on my Linux box by changing the call to gettimeofday() to include a timezone struct and by changing the return type of main() to int. I'll try it on my SGI as soon as I get some caffeine into my system tomorrow morning...
If anyone's interested, to compile it (on Linux) I used:
gcc -Wall -L/usr/X11/lib -lGL -lGLU tenmillion.c -o tenmillion.c.exe
The -Wall switch is optional, but interesting. I always use it when I compile other people's code...
".c.exe". Haha. Have you been programming in windows for too long? -o tenmillion would have been fine, and probably wouldn't have caused me to have a morning chuckle.
_________________
Stuff.