4.2 hasn't bootstrapped on powerpc-apple-darwin G5 machine for a very long time
Shantonu Sen
ssen@opendarwin.org
Tue May 9 20:46:00 GMT 2006
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
More information about the Gcc
mailing list