Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Remove a include path???

0 views
Skip to first unread message

Bram Vaessen

unread,
Nov 14, 2002, 5:04:41 AM11/14/02
to
Hi, I have a problem with installing php + gd, however I have a general
question about include paths that should solve my problem, so I guess it
would fit in this group.

How do I remove a include path??? because I don't have root and there are
header files of a previous version of GD in /usr/local/include that are
used. So I need to remove that include path while compiling..

any idea?

thanks


Måns Rullgård

unread,
Nov 15, 2002, 6:54:08 AM11/15/02
to
"Bram Vaessen" <bram.v...@wxs.nl> writes:

Add -I/the/right/path to your compiler flags. It will search there
first.

--
Måns Rullgård
m...@users.sf.net

Norm Dresner

unread,
Nov 15, 2002, 3:01:48 PM11/15/02
to
Måns Rullgård <m...@users.sourceforge.net> wrote in message
news:yw1xisyz...@gladiusit.e.kth.se...
So, what you're saying, in effect, is that it's impossible to create a
completely "virgin" include-path environment, right?

Norm

Bram Vaessen

unread,
Nov 17, 2002, 2:59:46 AM11/17/02
to

"Måns Rullgård" <m...@users.sourceforge.net> schreef in bericht
news:yw1xisyz...@gladiusit.e.kth.se...

Doesn't seem to work. are you absolutly sure it doesn't check the standard
includes first?? (freebsd)


>
> --
> Måns Rullgård
> m...@users.sf.net


Jens.T...@physik.fu-berlin.de

unread,
Apr 25, 2003, 7:01:59 AM4/25/03
to
Norm Dresner <nd...@worldnet.att.net> wrote:
> So, what you're saying, in effect, is that it's impossible to create a
> completely "virgin" include-path environment, right?

At least gcc seems to let you do this, at least if I don't misunderstand
the info pages:

`-nostdinc'
Do not search the standard system directories for header files.
Only the directories you have specified with `-I' options (and the
current directory, if appropriate) are searched. *Note Directory
Options::, for information on `-I'.

Regards, Jens
--
_ _____ _____
| ||_ _||_ _| Jens.T...@physik.fu-berlin.de
_ | | | | | |
| |_| | | | | | http://www.physik.fu-berlin.de/~toerring
\___/ens|_|homs|_|oerring

0 new messages