• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: SOT: g++ (command line) problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: SOT: g++ (command line) problem
  • Next by Date: Re: SOT: g++ (command line) problem
  • Previous by thread: Re: SOT: g++ (command line) problem
  • Next by thread: Re: SOT: g++ (command line) problem
  • Index(es):
    • Date
    • Thread