mips-elf target newlib
Wed Apr 12 04:34:00 GMT 2006
I find it easiest to build a bare-metal target (xxx-elf, gcc + newlib)
in a unified tree. Extract the gcc sources and the newlib sources, and
move the newlib-1.x.x/newlib/ directory into the gcc-4.x.x/ directory.
You can then remove the newlib-1.x.x directory. Building the gcc-4.x.x
directory will now build both gcc and newlib.
On 4/11/06, Niklaus <firstname.lastname@example.org> wrote:
> I have built binutils and gcc (bootstrap --without-headers) for the
> target=mips-elf ,
> Now i have to compile newlib for the same architecture. How do i do
> it . Has anyone here done it before.
> Usually for linux systems , i copy the kernel headers of the target
> architecture into the proper directory , then compile glibc with that
> headers for the target and then build complete gcc.
> But now i am wondering for bare-metal mips-elf target , how to build
> newlib and install headers and complete gcc. how do i produce a hello
> world executable like i did for glibc.
More information about the crossgcc