BUG? gcc and header search path
mrsam at courier-mta.com
Sun Jan 25 17:50:34 UTC 2004
Ronny Buchmann writes:
> 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
> Thanks, but it's not very useful with autoconf & co.
> I hope there is a better solution.
The solution is to explicitly link against the absolute pathname.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20040125/0d7e8eb8/attachment-0002.bin
More information about the devel