🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.linux
Article #1096

Re: How do I add a library to the include path?

#1096
From: Anders M Jorgensen
Date: Wed, 03 May 2000 00:00
24 lines
1999 bytes
use C_INCLUDE_PATH, and don't forget to use #include <foo.h>
instead. -a

Jack Kelly Dobson (jdobson@binc.net) wrote:
: Hello?

: Can someone tell me how to add a library to the include path?

: I'd like to be able to #include "foo.h" rather than #include
: "/usr/local/include/foo/foo.h".

: Any ideas?

: thx j-

--
+--------------------------------+------------------------------------------+
| Anders M. Jorgensen            | With Microsoft failure is not an option. |
| Space and Atmospheric Sciences | It comes bundled!                        |
| NIS-1, MS D466                 +-----------------------+------------------+
| Los Alamos National Laboratory | Phone: (505) 667-0944 | Hey you! This is |
| SM-30, Bikini Atoll Road       | Fax: (505) 665-7395   |  TSPA, so don't  |
| Los Alamos, NM 87545           | Pager: <unlisted>     |   even bother!   |
+--------------------------------+-----------------------+------------------+
Technical Details
Message-ID: <8eo4cp$4tc$1@newshost.lanl.gov>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <389218F4.E6FA9DA2@binc.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,741afaa4ec23a612
X-Google-Attributes: gid11318c,public
X-Google-Thread: faa64,741afaa4ec23a612
X-Google-Attributes: gidfaa64,public
X-Google-Thread: 100c5f,741afaa4ec23a612
X-Google-Attributes: gid100c5f,public
X-Google-Thread: 10a73c,741afaa4ec23a612
X-Google-Attributes: gid10a73c,public
X-Google-Thread: f65d0,741afaa4ec23a612
X-Google-Attributes: gidf65d0,public
From: ajorg@fedtmule.lanl.gov (Anders M Jorgensen)
Subject: Re: How do I add a library to the include path?
Date: 2000/05/03
Message-ID: <8eo4cp$4tc$1@newshost.lanl.gov>
X-Deja-AN: 618533080
References: <389218F4.E6FA9DA2@binc.net>
Followup-To: alt.linux,alt.os.linux,gnu.gcc,gnu.gcc.help,linux.dev.gcc
X-Complaints-To: usenet@lanl.gov
X-Trace: newshost.lanl.gov 957322457 5036 128.165.202.214 (3 May 2000 02:54:17 GMT)
Organization: Los Alamos National Laboratory
NNTP-Posting-Date: 3 May 2000 02:54:17 GMT
Newsgroups: alt.linux,alt.os.linux,gnu.gcc,gnu.gcc.help,linux.dev.gcc