Article View: alt.linux
Article #1102Re: How do I add a library to the include path?
From: Joel
Date: Fri, 28 Jan 2000 00:00
Date: Fri, 28 Jan 2000 00:00
19 lines
1438 bytes
1438 bytes
try -I /usr/local/include/foo/ in your make file or command line gcc foo.c -o foo -I /usr/local/include/foo/ -O2 -g -- joel Jack Kelly Dobson 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-
Technical Details
Message-ID:
<3892117E.57DDDE5C@nospamforme.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<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: Joel <joel@nospamforme.com> Subject: Re: How do I add a library to the include path? Date: 2000/01/28 Message-ID: <3892117E.57DDDE5C@nospamforme.com> X-Deja-AN: 578927818 Content-Transfer-Encoding: 7bit References: <389218F4.E6FA9DA2@binc.net> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@home.net X-Trace: news1.frmt1.sfba.home.com 949096753 24.9.168.136 (Fri, 28 Jan 2000 13:59:13 PST) Organization: @Home Network MIME-Version: 1.0 NNTP-Posting-Date: Fri, 28 Jan 2000 13:59:13 PST Newsgroups: alt.linux,alt.os.linux,gnu.gcc,gnu.gcc.help,linux.dev.gcc