473,320 Members | 2,020 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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
Feb 18 '08 #1
4 4832
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.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
Feb 18 '08 #2
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.programmer
Try alt.os.linux.ubuntu.

--
[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

Feb 19 '08 #3
CBFalconer <cb********@yahoo.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.programmer

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.)

--
Keith Thompson (The_Other_Keith) <ks***@mib.org>
Nokia
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
Feb 19 '08 #4
On Feb 18, 11:29 am, bobby <bsim...@gmail.comwrote:
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

Feb 19 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Russell E. Owen | last post by:
I'm writing a cross-platform app. Presently it runs on unix and MacOS X, but eventually I'd like to get it working on Windows (nothing older than 2000). For unix and MacOS X I store settings in...
2
by: Eliseo | last post by:
in a system command when you want to do something with directories you are forced to type \\ unstid of just one (ex. system("md c:\\newdir");) is there any way I can avoid this, I am making a VB...
6
by: Chad | last post by:
I am receiving the following two errors in the code below. Both are on Line 56. error C2039: 'CreateDirectoryA' : is not a member of 'System::IO::Directory' error C2660: 'CreateDirectoryA' :...
0
by: Sijmen | last post by:
In reference to the following post by Brandon Bray from Microsoft: http://groups.google.com/groups?q=g:thl1709599354d&dq=&hl=en&lr=&ie=UTF-8&selm=%238CXKwM3BHA.2488%40tkmsftngp04 Among other...
3
by: Arpi Jakab | last post by:
I have a main project that depends on projects A and B. The main project's additional include directories list is: ...\ProjectA\Dist\Include ...\ProjectB\Dist\Include Each of the include...
2
by: Greg W. | last post by:
In our setup project, we have the standard web application folder, but we also have 4 web custom folders (virtual directories) that are created at the same level as the web application folder...
6
by: pvadhi07 | last post by:
Hi I am trying to execute a system command in my "C" code running on a Ubuntu Linux machine. The code is supposed to open a secure shell connection to another machine, change directories to a...
2
by: lajam | last post by:
Hello, I'm trying to assign data into an array with the nonzero function. There is my code. from numarray import * diff_temp=(logical_and(values -2,values < 2)).nonzero() This command...
12
by: Pablo Suarez | last post by:
When I code #include "myheader.h" then this header file is searched in the current directory. But where does the compiler search the header file when I write #include <myheader.h>
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.