On Tue, Sep 29, 2009 at 6:22 PM, Ian Lance Taylor <iant@xxxxxxxxxx> wrote: > Jeremy Conlin <jlconlin@xxxxxxxxx> writes: > >> I have been trying to compile gcc-4.4.1 on my Mac Pro with 64bit Xeon >> processor with no success. I have the following variables set >> >> CFLAGS='-m64' >> CXXFLAGS='-m64' > > Try setting BOOT_CFLAGS instead. > >> ld warning: in ../../build-i386-apple-darwin9.8.0/libiberty/libiberty.a, >> file is not of required architecture > > This is your problem--libiberty is being compiled with different flags > for some reason. Sorry for the slow reply. I tried setting BOOT_CFLAGS='-m64' but that didn't solve any problems. What could be causing libiberty to be compiled with different flags? That seems rather strange to me. Thanks, Jeremy