Re: SOT: g++ (command line) problem
Re: SOT: g++ (command line) problem
- Subject: Re: SOT: g++ (command line) problem
- From: Greg Guerin <email@hidden>
- Date: Tue, 19 Jun 2007 14:33:15 -0700
David Goldsmith wrote:
>Hi! g++ is complaining that it can't find a file, but its location is in
>my PATH:
>...
>$ echo $PATH
>...:/usr/local/include/wx-2.8:etc.
$PATH is your command-path, not an include-path for compilers. I've never
heard of searching command-directories like /bin, /usr/bin, /usr/sbin, etc.
for include-files.
I think you want $CPATH, or one of the other env-vars g++ uses.
>Does g++ take its default search path from somewhere else, and if so, where?
Did you try reading the fine man page? All the env-vars g++ uses are
listed. See 'man g++', and find "CPATH".
-- GG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden