where are system standard include directories in Ubuntu

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • bobby

    where are system standard include directories in Ubuntu

    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
  • Joachim Schmitz

    #2
    Re: where are system standard include directories in Ubuntu

    bobby wrote:
    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.progr ammer
    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


    Comment

    • CBFalconer

      #3
      Re: where are system standard include directories in Ubuntu

      Joachim Schmitz wrote:
      bobby wrote:
      >
      >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.progr ammer
      Try alt.os.linux.ub untu.

      --
      [mail]: Chuck F (cbfalconer at maineline dot net)
      [page]: <http://cbfalconer.home .att.net>
      Try the download section.



      --
      Posted via a free Usenet account from http://www.teranews.com

      Comment

      • Keith Thompson

        #4
        Re: where are system standard include directories in Ubuntu

        CBFalconer <cbfalconer@yah oo.comwrites:
        Joachim Schmitz wrote:
        >bobby wrote:
        >>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.progr ammer
        >
        Try alt.os.linux.ub untu.
        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.)

        --
        Keith Thompson (The_Other_Keit h) <kst-u@mib.org>
        Nokia
        "We must do something. This is something. Therefore, we must do this."
        -- Antony Jay and Jonathan Lynn, "Yes Minister"

        Comment

        • bobby

          #5
          Re: where are system standard include directories in Ubuntu

          On Feb 18, 11:29 am, bobby <bsim...@gmail. comwrote:
          Hello group,
          >
          Ijustwantedtokn owwhere aresystemstanda rdincludeand 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

          Comment

          Working...