Natural alignment for 64-bit Darwin

Andrew Haley aph@redhat.com
Wed Feb 23 18:30:00 GMT 2005


Stan Shebs writes:
 > 
 > Libjava building gets to the end in my sandbox, then chokes where
 > it tries to use "ld" directly (for obscure reasons, the 64-bit linker
 > is called "ld64" - this is why using GCC driver is recommended...).

It's probably libtool that's doing so.  I don't think we would use ld
deliberately.

CCLD = $(CC)
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
        $(AM_LDFLAGS) $(LDFLAGS) -o $@

CXXLD = $(CXX)
CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \
        $(AM_LDFLAGS) $(LDFLAGS) -o $@

Andrew.



More information about the Gcc-patches mailing list