BUG? gcc and header search path

Ronny Buchmann ronny-vlug at vlugnet.org
Sun Jan 25 17:02:45 UTC 2004


On Sunday 25 January 2004 17:46, Luciano Miguel Ferreira Rocha wrote:
> On Sun, Jan 25, 2004 at 05:39:26PM +0100, Ronny Buchmann wrote:
> > The problem: two versions of a library installed (one in /usr, other one
> > in /usr/local), now I can't compile against the one in /usr, because gcc
> > refuses to change the search order for /usr and /usr/local.
>
> Try option "-nostdinc", it tells gcc not to include the standard header
> locations.
Thanks, but it's not very useful with autoconf & co.

I hope there is a better solution.

ronny





More information about the devel mailing list