PATCH: Fix Darwin bootstrap
Mark Mitchell
mark@codesourcery.com
Mon Jul 5 16:54:00 GMT 2004
Phil Edwards wrote:
>On Sun, Jul 04, 2004 at 10:22:05AM -0700, Mark Mitchell wrote:
>
>
>> AC_PROG_RANLIB
>>+ case "${host}" in
>>+ *-*-darwin*)
>>+ # By default, the Darwin ranlib will not treat common symbols as
>>+ # definitions when building the archive table of contents. Other
>>+ # ranlibs do that; pass an option to the Darwin ranlib that makes
>>+ # it behave similarly.
>>+ ranlib_flags="-c"
>>
>>
>
>If other ranlibs do it by default, the libbackend.a will now be slightly
>different from other host libraries that we may build. Why not effectively
>make it the default for Darwin ranlib by
>
> RANLIB="$RANLIB -c"
>
>across the board?
>
>
Dunno.
The Darwin manual pages claim that their different behavior is superior,
and so changing it globally seemed like it might somehow make the world
worse on Darwin. Also, I don't think we actually *use* RANLIB anywhere
else. Also, it seemed like we have a FOO and FOO_FLAGS convention in
use throughout the Makefile.
But, all that said, I really don't have a strong feeling either way; I
just wanted the compiler to build. :-)
--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com
More information about the Gcc-patches
mailing list