Need help in compiling header files using GCC
leehj
leehj@csse.unimelb.edu.au
Sat Dec 29 08:41:00 GMT 2007
I would like to seek help in compiling header files (.h) using GCC.
I would like to seek help in compiling header files (.h) using GCC.
Basically I have a file which is .c file with multiple header files
preprended in my .c file. And apart from that I have separate header files
too.I tried to compile using below command:-
gcc -o xxx.c a.h b.h c.h xxx.exe
However, it gives me compiling error especially it could not recognize "sin"
which is math option and "log" as well. I have Math.h prepended across in
the xxx.c.
I tried looking on the online docs but it didnt state how to solve the above
problem. I tried to look into c book and they just mentioned it is heavily
based on how different compiler works to recognize these header files.
Please help.
Thanks.
Rgrds,
Jason
--
View this message in context: http://www.nabble.com/Need-help-in-compiling-header-files-using-GCC-tp14535850p14535850.html
Sent from the gcc - bugs mailing list archive at Nabble.com.
More information about the Gcc-bugs
mailing list