powerpc-linux cross gcc-2.95 with newlib-1.8.1 missing crt1.o

Graham Stoney greyham@research.canon.com.au
Thu Aug 12 01:00:00 GMT 1999

Hi Brendan,

Thanks for the quick response...

Graham Stoney wrote:
# I'm attempting to build a powerpc-linux cross-compiler from gcc-2.95 to run on
# a Red Hat 6.0 i686-pc-linux-gnu system, with the binutils-990809 snapshot and
# newlib-1.8.1 as my C library. They're all configured with:
#     --target=powerpc-linux --with-gnu-as --with-gnu-ld --with-newlib

(i.e. the cross-compiler I'm building is to run on the i686-pc-linux-gnu
system, and produce powerpc-linux binaries linked (hopefully) against newlib.)

Brendan Simon writes:
> Are you sure that Linux cross-compilers can be built using newlib as the C
> library.

I wouldn't say I'm sure, but this is for an embedded project on a Linux kernel,
where newlib's leanness is rather appealing. I'm not expecting the full
functionality of glibc, but I'd appreciate a gently pointer if anyone knows
that this can't possibly work.

> You need to get the runtime libs and headers and preinstall them before
> building binutils and gcc.

Thanks for the pointers to the RPMs. I don't think I need the runtime libs and
headers before building binutils and gcc though; once I've got binutils and
gcc built, I can build the runtime libs myself.


More information about the Newlib mailing list