where are system standard include directories in Ubuntu

B

bobby

Hello group,

I just wanted to know where are system standard include and libraries
directories in Ubuntu?
I searched in usr/include and usr/local/include and I could not find
any header?!!
I appreciate it if you send me the list of the directories the gcc
looks for the header files and libraries for compilation in Linux
Ubuntu.
Also what does it means if we insert sys before a header file like
#include<sys/types.h>?does it refer to any specific directory?

Thanks for you help
bobby
 
J

Joachim Schmitz

bobby said:
Hello group,

I just wanted to know where are system standard include and libraries
directories in Ubuntu?
Not topical in thie group, try a linux group or comp.unix.programmer
I searched in usr/include and usr/local/include and I could not find
/usr/include, i.e. leading /
If not there, most probably the develpment packages haven't been installed
any header?!!
I appreciate it if you send me the list of the directories the gcc
looks for the header files and libraries for compilation in Linux
Ubuntu.
Also what does it means if we insert sys before a header file like
#include<sys/types.h>?does it refer to any specific directory? /usr/include/sys/types.h

Thanks for you help
bobby

Bye, Jojo
 
K

Keith Thompson

CBFalconer said:
Try alt.os.linux.ubuntu.

Or try using "gcc -v".

(Yes, the behavior of gcc is off-topic; I'm merely suggesting a
resource other than this newsgroup that's likely to provide an
answer.)
 
B

bobby

Hello group,

Ijustwantedtoknowwhere aresystemstandardincludeand libraries
directories in Ubuntu?
I searched in usr/includeand usr/local/includeand I could not find
any header?!!
I appreciate it if you send me the list of the directories the gcc
looks for the header files and libraries for compilation in Linux
Ubuntu.
Also what does it means if we insert sys before a header file like
#include<sys/types.h>?does it refer to any specific directory?

Thanks for you help
bobby

I looked at Ubuntu forum:

/usr/include is correct. You need to install "build-essential" package

Problem solved
Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top