This is the mail archive of the
newlib@sourceware.cygnus.com
mailing list for the newlib project.
Chicken-and-egg: newlib and cross-gcc for bare target
- To: newlib at sourceware dot cygnus dot com
- Subject: Chicken-and-egg: newlib and cross-gcc for bare target
- From: Chan Shih-Ping Richard <cshihpin at dso dot org dot sg>
- Date: Wed, 12 Jan 2000 15:07:51 +0800 (SGT)
- Reply-To: Chan Shih-Ping <cshihpin at dso dot org dot sg>
Is there a chicken-and-egg problem when building cross-gcc
and newlib for a bare target?. E.g i686-pc-linux-gnu host
to arm-elf bare target.
No problems with binutils
When building a arm-elf-gcc, I have partial success. Since I
have no target headers/libraries the build dies looking
for stdio.h etc in choose-temp.c (somewhere inside the libiberty tree).
Nevertheless, gcc/xgcc is successfully built.
Now when I try to configure in newlib it fails because
configure can't use arm-elf-gcc to successfully run conftest.
(No crt0.o, no libc.a of course).
How do you bootstrap cross-gcc and newlib for bare targets?
--
Chan Shih-Ping (Richard) <cshihpin@dso.org.sg>
DSO National Laboratories
20 Science Park Drive
Singapore 118230