Ralf S. Engelschall wrote:
Cool, that's it! If we now override the cc, gcc and ld commands under
Mac OS X and enfore this option, the various linking problems you have
observed should be gone. What about the following (untested) patch?
Need to override ranlib and strip, and maybe a few others as well... ?
I just ended up removing the entire binutils and gcc package contents.
(and then I installed "odcctools" locally, using --prefix=/openpkg)
Will try compiling it all again tomorrow with your wrapper scripts.
BTW: "cc" and "gcc" under /usr/bin both link to the same compiler,
either "gcc-3.3" for Mac OS X 10.3 or "gcc-4.0" for Mac OS X 10.4
The user can switch this default by using a "gcc_select" command:
http://developer.apple.com/documentation/Darwin/Reference/Manpages/
man8/gcc_select.8.html
+ *-*-macos10.* | *-*-darwin* )
Just picking a nit here, but it should be "macosx" and not 10.
Otherwise it would be the successor to Mac OS 9, which is dead :-)
--anders
______________________________________________________________________
OpenPKG http://openpkg.org
Developer Communication List openpkg-dev@openpkg.org