This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Cannot compile gcc-4.4.1 on Mac Pro---libiberty.a file is not of required architecture---Please Help
- From: Ian Lance Taylor <iant at google dot com>
- To: Jeremy Conlin <jlconlin at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Mon, 05 Oct 2009 09:27:49 -0700
- Subject: Re: Cannot compile gcc-4.4.1 on Mac Pro---libiberty.a file is not of required architecture---Please Help
- References: <2588da420909291418l6a3f1e63tb3bee584c01d7bc2@mail.gmail.com> <mcr3a658eo5.fsf@dhcp-172-17-9-151.mtv.corp.google.com> <2588da420910050806x4d3ce4cfxb53a087a3e2e1cf2@mail.gmail.com>
Jeremy Conlin <jlconlin@gmail.com> writes:
>>> 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.
I don't know, but look at the output of make to see what is happening.
Ian