[101178] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: libraries

daemon@ATHENA.MIT.EDU (Emmanuel Papirakis)
Wed Nov 25 01:11:07 1998

From: "Emmanuel Papirakis" <epapirakis@hotmail.com>
To: redhat-list@redhat.com
Date: Tue, 24 Nov 1998 22:09:34 PST
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Hey,

	first of all, your problem has nothing to do with libraries. It has to 
do with include files (there is a world of differnce).

	There are two obvious ways (once you get to know them):

1- use the -I flag:

	gcc -I/home/someone/include something.c

For the compiler to look in /home/someone/include for header files with 
<> around them. Another way is to set the C_INCLUDE_PATH variable (it 
must contain every directory where standard headers can be found 
though...)


					Papi


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post