System Headers Path?

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers System Headers Path?
# 1  
Old 04-18-2001

Is there an environment variable or other mechanism whereby I can get the system headers path? Preferrably I would like to be able to gather this information independant of the flavor of Unix. Thanks, Scott.
# 2  
Old 04-18-2001
To my knowledge, there is no standard cross-platform location for all system include files. This is one of the reasons that when you compile code you type a setup utility (normally ./configure) in the root directory of the distribution. The configure script has conditional code that tests for version, installed libs, installed utilities, headers and the locations (paths). This information is used to create a platform specific Makefile.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Command to see the logical volume path, device mapper path and its corresponding dm device path

Currently I am using this laborious command lvdisplay | awk '/LV Path/ {p=$3} /LV Name/ {n=$3} /VG Name/ {v=$3} /Block device/ {d=$3; sub(".*:", "/dev/dm-", d); printf "%s\t%s\t%s\n", p, "/dev/mapper/"v"-"n, d}' Would like to know if there is any shorter method to get this mapping of... (2 Replies)
Discussion started by: royalibrahim
2 Replies

2. Solaris

Moving a zone path to a new file system

Hello Gurus, I need your help with this please. I am trying to move a zone to a new directory but it keeps failing. Below is what I did and the message I get. Your help will be appreciated. Thanks zoneadm -z testzone move /rpool/testzone cannot create ZFS dataset rpool/testzone: dataset... (1 Reply)
Discussion started by: cjashu
1 Replies

3. Programming

Linux System C headers puzzling

I am new to Linux system programming, and I found the sophisiticated definition of some library function differ a lot with what I learnt in classes. Here is the question: what does the suffix of function `chmod' in sys/stat.h mean. The funtion claimation is like following: extern int... (5 Replies)
Discussion started by: JackCrital2005
5 Replies

4. Web Development

store images into databases or path to file system files ?

hi, I need a quick information about storing images into mysql databases. Is more convenient to store a path to the filesystem folder in which the images are stored, or is possible to directly store the images into my tables ? thanks (2 Replies)
Discussion started by: aneuryzma
2 Replies

5. Shell Programming and Scripting

Problem with embedded FTP command in Ksh - System Cannot find the specified path.

I have the following FTP embedded in a Ksh script on AIX 5.3 ftp -n <<WHATEVER open user hcistats ******* ascii put $thupdatefile put $thcollectfile quit WHATEVER Here is what my script returns: ... (3 Replies)
Discussion started by: troym72
3 Replies

6. Shell Programming and Scripting

Merging of files with different headers to make combined headers file

Hi , I have a typical situation. I have 4 files and with different headers (number of headers is varible ). I need to make such a merged file which will have headers combined from all files (comman coluns should appear once only). For example - File 1 H1|H2|H3|H4 11|12|13|14 21|22|23|23... (1 Reply)
Discussion started by: marut_ashu
1 Replies

7. Shell Programming and Scripting

Remove text between headers while leaving headers intact

Hi, I'm trying to strip all lines between two headers in a file: ### BEGIN ### Text to remove, contains all kinds of characters ... (Germany)=http://www.antispyware-downloadserver.c om/updates/ #2... (3 Replies)
Discussion started by: Trones
3 Replies

8. UNIX for Advanced & Expert Users

A system path?

ok I'm new here but I'm no dummy when it comes to unix i was wondering if there was a system path variable or any way to get one. EX. >ls / would return: home root tmp var media Debian-linux Debian-bsd redhat with the Debian-linux and Debian-bsd and redhat contaning the... (1 Reply)
Discussion started by: Genral
1 Replies

9. UNIX for Dummies Questions & Answers

System environment Path in Linux

HI there people!! I'm really new with this great OS. I just installed a RedHat Linux 7.1 on my unit. Got it to work on dual boot with my Windows 2000. And I have some problem... how do i change/modify the system environment path? Thanks... and sorry for the ignorance ;) (5 Replies)
Discussion started by: spine_me
5 Replies
Login or Register to Ask a Question