Problem building gcc with OSX

Tilo Lutz TiloLutz@gmx.de
Fri Dec 25 16:18:00 GMT 2009


Am 25.12.2009 um 16:20 schrieb Ineiev:

> On 12/25/09, Tilo Lutz <TiloLutz@gmx.de> wrote:
>> compiled and installed binutils to /usr/local/arm
>> compiled and installed gmp to /usr/local/arm
>> compiled and installed mpfr to /usr/local/arm
>> 
>> I read there are problems with correct system identification with snow
>> leopard. Therefore I added information about the host system:
>> ../configure --host=x86_64-apple-darwin10 ....
>> 
>> After that I tried to compile gcc-4.4.2 with target=arm-elf:
>> ../configure --host=x86_64-apple-darwin10 --target=arm-elf
>> --enable-interwork --enable-multilib --enable-languages="c,c++"
>> --with-newlib --with-gmp=/usr/local/arm --with-mpfr=/usr/local/arm
>> --build=x86_64-apple-darwin10
> 
> Some random guess:
> You certainly add /usr/local/arm/bin to your PATH?
Not yet because there are no files in arm/bin yet.

> Have you tried to configure without --build?
> What about newlib? have you installed it somewhere?
Do I have to install newlib before gcc? I have read I should first install gcc and 2nd newlib

Cheers, Tilo



More information about the Gcc-help mailing list