This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: Am I crazy? Does newlib build nothing? SOLVED
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.