I want to manually add some header files like math.h
and graphic.h
for gcc
but don't know where to put them.
Ubuntu – header files for GCC located
ccompilergcc
ccompilergcc
I want to manually add some header files like math.h
and graphic.h
for gcc
but don't know where to put them.
Best Answer
First take a look in
/usr/include
or/usr/local/include
.If you find nothing there, try :
This command asks gcc which C++ preprocessor it is using, and then asks that preprocessor where it looks for includes.
You will get a reliable answer for your specific setup.
Likewise, for the C preprocessor: