Re: GCC search path

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
+ (text/html)
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: Nathan England
日付:  
To: Main PLUG discussion list
題目: 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