Am I crazy? Does newlib build nothing? SOLVED

DJ Delorie dj@redhat.com
Thu Aug 4 23:11:00 GMT 2011


In a bare-metal environment, you cross-compile newlib, and different
tests are done at configure time.

What you're doing different is: trying to use newlib as a linux C
library.

If you are trying to bootstrap gcc+glibc, do not use newlib - there
are ways to bootstrap gcc+glibc.  See:

	http://djdelorie.fedorapeople.org/

The bootstrap GIT repo has a "stage1" script that bootstraps a kernel,
compiler, and glibc - all from scratch, all cross-compiled.  You solve
the chicken-and-egg problem by building part of one, then part of the
other, then more of the first, etc.



More information about the Newlib mailing list