IRIX and Software

twilight.c (no, not *that* twilight)

Just found this on an old hard drive. Enjoy!

_________________
CHI: :OnyxR: :Onyx: :Onyx: :Crimson: :O200: :Octane: :Indy: :Cube:
SEA: :Onyx: :Onyx2: :O2000: :Octane2: :Indigo: :Indigo: :Indigo: :Indigo2: :Indy:
Very nice. Thanks! ;-)
I always enjoyed that background. Thanks.
Ah yes, Howard Look! He's done quite well since his tenure at SGI:

Howard Look has been Senior Vice President of Customer Applications of Linden Research, Inc. since December 2008. Mr. Look served as Vice President of Applications and User Experience of Tivo Inc., since June 2003 and its Vice President of TiVo Studios since March 2000. Mr. Look joined Tivo Inc. in February 1998 as Director of Application Software. Prior to joining Tivo Inc., Mr. Look served as Manager and the Director of Applied Engineering at SGI from 1996 to 1998. He has 18 years of experience in software development and user interface (UI) design. Prior to Linden Lab, Mr. Look served as Vice President of Software at Pixar Animation Studios, where he led the team that developed and maintained its proprietary filmmaking system. Prior to Pixar, Mr. Look was a member of the founding team at TiVo Inc. and served as Vice President of Application Software and User Experience, playing a key role in defining TiVo's functionality and user experience. Previously, Mr. Look served as Director of Applied Engineering at Silicon Graphics, where he led the team that created the "O2 Out of Box Experience," the world's first Virtual Reality Modeling Language-based (VRML) 3D workstation setup environment. He also served as an Engineer on the Inventor team, which later became the foundation for VRML. He received his Bachelor of Science degree in Computer Engineering from Carnegie Mellon University.
how to compile it? The library libgl_s seems not to be present in my machine....

_________________
__Zacatito__ Image 600 MHZ R14000; 17GBytes HD
__Nopalito__ Image 200 MHZ R5000; 9GBytes HD
Guadalajara, Jal and Aguascalientes, Ags
Mexico
Substitute with -lgl or -lGL, if none of those work, i.e. the linker complains about missing symbols, check if you have the manpage for the missing function installed (it may contain hints which library is needed), if not just use a shell loop over /usr/lib32/*.so and check with nm if the function is in there as MIPS_TEXT (as opposed to UNDEF).
Done, with mipspro 7.4.4m:

cc -o twilight twilight.c -lgl

looks simple and beauty !! B)

_________________
__Zacatito__ Image 600 MHZ R14000; 17GBytes HD
__Nopalito__ Image 200 MHZ R5000; 9GBytes HD
Guadalajara, Jal and Aguascalientes, Ags
Mexico