PDA

View Full Version : compiling source code (*.c)



Pepsie
02-19-2001, 01:02 PM
If have *.c file and I will compile it with the openterminal and type in
for example:
gcc -o cube cube.c -L/usr/X11R6/lib/ -Wall -lX11 -lXi -lXmu -lglut -lmesaGL -lmesaGLU -lm

and I get warnings so
he doesn't compile my source code

OpenGL
SuSE linux 6.4

mango
02-19-2001, 06:27 PM
Warnings is not errors so your code will be compiled but it is a good idea to check out what the compiler complains about.

Gavin
02-20-2001, 03:29 AM
To make life easier for yourself use a makefile.

gav