gcc cross compiler for "powerpc-eabi"(with out OS)

Kai Ruottu kai.ruottu@wippies.com
Wed May 4 12:10:00 GMT 2011


4.5.2011 14:24, Kai Ruottu kirjoitti:

> 4.5.2011 12:36, Thulasi Ramu J kirjoitti:
>
>> We have done the following by selecting target=powerpc-eabi option.
>> 1) Build binutils (binutils-2.21)
>> 2) Build bootstrap gcc (gcc-4.4.1)
>> 3) Build newlib (newlib-1.19.0)
>> 4) Build full gcc
>>
>> But, we are stuck with implementing __eabi(), __init() and __fini()
>> functions.
>
> They are in the '*crt*.o' startups and the 'libgcc.a' GCC-helper
> library produced during the GCC build and installed as essential
> parts of the produced GCC...

To elaborate:  These are $target and $gcc-version specific so they
will be installed into their proper :

   $prefix/lib/gcc/$target/$gcc-version

directory, not to the $target specific but $gcc-version independent :

   $prefix/$target/lib

(If one hasn't toyed with oddities like '--with-sysroot=$sysroot' -
this aimed for system targets like Linux, Solaris2,...)



More information about the Gcc-help mailing list