This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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,...)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]