Re: GCC search path

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
+ (text/html)
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: Nathan England
Dato:  
Til: Main PLUG discussion list
Emne: Re: GCC search path
If I compile xf86-input-joystick-1.5.0 with

./configure --prefix=/usr

it fails with multiple cannot find this or that... but if I compile it with

CPPFLAGS="-I/usr/include/ -I/usr/include/xorg/ -I/usr/include/pixman-1/"
./configure --prefix=/usr

then it works great.

So my question is why isn't gcc finding the necessary .h files unless I tell
it to include the directories within the /usr/include directory?
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss