public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* adding include directories?
@ 1999-12-04  5:20 Belldandy
  1999-12-09 13:23 ` ergeorge1
  1999-12-31 22:24 ` Belldandy
  0 siblings, 2 replies; 4+ messages in thread
From: Belldandy @ 1999-12-04  5:20 UTC (permalink / raw)
  To: help-gcc

 I'm running FreeBSD 3.2 and I built GCC 2.95.2 into /usr/gcc,

apart from the usual /usr/local. It runs perfectly, but it's

having problems when I compile packages that depend on headers

and libraries in /usr/local/. How do I add directories to the

search path? TIA.....

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: adding include directories?
  1999-12-04  5:20 adding include directories? Belldandy
@ 1999-12-09 13:23 ` ergeorge1
  1999-12-31 22:24   ` ergeorge1
  1999-12-31 22:24 ` Belldandy
  1 sibling, 1 reply; 4+ messages in thread
From: ergeorge1 @ 1999-12-09 13:23 UTC (permalink / raw)
  To: help-gcc

In article < 384914B3.7E50C92F@tpts5.seed.net.tw >,
  Belldandy <narumi@tpts5.seed.net.tw> wrote:
>
>  I'm running FreeBSD 3.2 and I built GCC 2.95.2 into /usr/gcc,
>
> apart from the usual /usr/local. It runs perfectly, but it's
>
> having problems when I compile packages that depend on headers
>
> and libraries in /usr/local/. How do I add directories to the
>
> search path? TIA.....
>

Use the -I option
For example:

gcc junk.c -c -I/usr/local


Sent via Deja.com http://www.deja.com/
Before you buy.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* adding include directories?
  1999-12-04  5:20 adding include directories? Belldandy
  1999-12-09 13:23 ` ergeorge1
@ 1999-12-31 22:24 ` Belldandy
  1 sibling, 0 replies; 4+ messages in thread
From: Belldandy @ 1999-12-31 22:24 UTC (permalink / raw)
  To: help-gcc

 I'm running FreeBSD 3.2 and I built GCC 2.95.2 into /usr/gcc,

apart from the usual /usr/local. It runs perfectly, but it's

having problems when I compile packages that depend on headers

and libraries in /usr/local/. How do I add directories to the

search path? TIA.....

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: adding include directories?
  1999-12-09 13:23 ` ergeorge1
@ 1999-12-31 22:24   ` ergeorge1
  0 siblings, 0 replies; 4+ messages in thread
From: ergeorge1 @ 1999-12-31 22:24 UTC (permalink / raw)
  To: help-gcc

In article < 384914B3.7E50C92F@tpts5.seed.net.tw >,
  Belldandy <narumi@tpts5.seed.net.tw> wrote:
>
>  I'm running FreeBSD 3.2 and I built GCC 2.95.2 into /usr/gcc,
>
> apart from the usual /usr/local. It runs perfectly, but it's
>
> having problems when I compile packages that depend on headers
>
> and libraries in /usr/local/. How do I add directories to the
>
> search path? TIA.....
>

Use the -I option
For example:

gcc junk.c -c -I/usr/local


Sent via Deja.com http://www.deja.com/
Before you buy.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-12-31 22:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-12-04  5:20 adding include directories? Belldandy
1999-12-09 13:23 ` ergeorge1
1999-12-31 22:24   ` ergeorge1
1999-12-31 22:24 ` Belldandy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).