This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: problem in cross compiling newlib
> Which should I follow?
Newlib as a *module* only knows about $host, but the *toplevel*
configury, which manages all the modules (libgloss, gcc, gas, gdb,
libiberty, etc) follows the standard where --target is the target,
--host is where you run the tools, and --build is the machine running
configure.
It will rearrange the options when it sub-configures into newlib.
Of course, you could have just tried both and watched what happened.