473,626 Members | 3,952 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

Feb 19 '08 #3
CBFalconer <cb********@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) <ks***@mib.or g>
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,

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

Feb 19 '08 #5

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

Similar topics

4
1719
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 ~/.TUIPrefs and ~/.TUIGeom and allow extensions to be stored in ~/TUIAdditions/ and <app's parent dir>/TUIAdditions/. Is the home dir easily accessible from vanilla Python (and if so, how do I get there)? Is there a better directory (I'm really...
2
2422
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 program that interacts with this C++ program and needs to have those off. Thank alot. Please email me an answer if possible (eliseogonzalez@hotmail.com).
6
9252
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' : function does not take 1 arguments Could anyone please point me in thr right direction?
0
12627
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 things, the thread talks about the C Runtime files such as MSVCR71.DLL, and seems to indicate that they should be installed in our applications directory, and not in the System32 directory. Specifically, Brandon states the following about installing...
3
2697
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 directories contain a file named "cppfile1.h". In my main project I #include "cppfile1.h". I rely on the order of paths in additional include directories list to get file cppfile1.h from ProjectA and
2
2199
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 (i.e. not subdirectories). The setup works fine as long as the user leaves the default setting of port 80. If they choose something different, the install program loads the web application folder correctly at the non-standard port, but it installs...
6
16332
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 given directory and run an executable on that machine. I have configured the remote machine through ssh keygen to be able to authenticate my account and bypass the password. here is my "C" code: void create_server(char *servermcnm) { char...
2
1925
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 works fine but when I apply the following,
12
2546
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
8199
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8638
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8365
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8505
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
4092
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4198
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2626
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1811
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1511
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.