Re: Mac OS X cross-compiler not finding system include files?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Maróy Ákos wrote:
> Dear Kay & Andrew,
> 
> Thank you for your detailed explanation of the sysroot concept. Indeed,
> I'm using the system libraries from the Apple XCode package for this
> purpose.
> 
> It seems that there's an issue with the Mac OS X gcc build process, so
> that it automagically ads $prefix after $sysroot in the include search
> path.
> 
> for example, I re-compiled gcc with prefix=/opt/i686-apple-darwin9 and
> sysroot=/foo/bar, and now I get:
> 
> $ /opt/i686-apple-darwin9/libexec/gcc/i686-apple-darwin9/4.0.1/cc1plus -v
> ignoring nonexistent directory

Please tell us how you configured the compiler.

Andrew.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux