Problem building gcc with OSX

Ineiev ineiev@gmail.com
Fri Dec 25 15:23:00 GMT 2009


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?
Have you tried to configure without --build?
What about newlib? have you installed it somewhere?

Regards,
Ineiev



More information about the Gcc-help mailing list