The Red Book (OpenGL Programming Guide)
The Blue Book (OpenGL Reference Manual)
You should use these modules: openwin, glut,
sun-lang, sun-ccs, gcc, and gnutools. These modules contain the GL man
pages, the GLUT package, Sun C/C++ compilers, Sun build tools, GNU
compiler, and GNU build tools respectively. Edit your .cshrc to include
these modules.
Include path: gcc -c something.cpp -I/opt/glut-3.7/include
Link Libraries: gcc something.o -o exec_file -L/opt/glut-3.7/lib -lGL -lglut -lX11 -lXmu -lGLU