public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: ergeorge1@my-deja.com
To: help-gcc@gnu.org
Subject: Re: adding include directories?
Date: Thu, 09 Dec 1999 13:23:00 -0000	[thread overview]
Message-ID: <82p5su$jn7$1@nnrp1.deja.com> (raw)
In-Reply-To: <384914B3.7E50C92F@tpts5.seed.net.tw>

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.

WARNING: multiple messages have this Message-ID
From: ergeorge1@my-deja.com
To: help-gcc@gnu.org
Subject: Re: adding include directories?
Date: Fri, 31 Dec 1999 22:24:00 -0000	[thread overview]
Message-ID: <82p5su$jn7$1@nnrp1.deja.com> (raw)
Message-ID: <19991231222400.59f2PDdV_6oJmIN-7LNsiHyYqNNfDS7pO8rTc0mobFU@z> (raw)
In-Reply-To: <384914B3.7E50C92F@tpts5.seed.net.tw>

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.

  reply	other threads:[~1999-12-09 13:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-04  5:20 Belldandy
1999-12-09 13:23 ` ergeorge1 [this message]
1999-12-31 22:24   ` ergeorge1
1999-12-31 22:24 ` Belldandy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='82p5su$jn7$1@nnrp1.deja.com' \
    --to=ergeorge1@my-deja.com \
    --cc=help-gcc@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).