Because it's hardcoded in the original darwin.h to something else, and
the right one does not get detected during configuration.
Why must you use libtool from the same source as ld? Because libtool
has binary detection logic, and an old version can reject object files
with new load commands or new architectures, like ppc64 on a 10.3
system.
Shantonu
On May 9, 2006, at 12:37 PM, Bradley Lucier wrote:
On May 3, 2006, at 7:50 PM, David Fang wrote:
FWIW, the 20060415 mainline (4.2) snapshot bootstrapped for me, using
odcctools-20060413 (odcctools-590.36od13). This machine is a dual G5
(ppc970) using OS X 10.3.9, and Apple's gcc-3.3 (build 1640).
However, before building, I patched the following 2 files:
In gcc/config/darwin.h:
at: #define LINK_COMMAND_SPEC :
replace: /usr/bin/libtool
with: /path/to/odcctools/bin/libtool
Thanks. Is there any reason to hardwire which version of libtool to
use?
Brad