[PATCH] Fixes for i686-pc-linux-newlib
Paolo Bonzini
paolo.bonzini@lu.unisi.ch
Thu Jan 12 19:29:00 GMT 2006
> Which headers in particular?
All those that are needed by the unwinder, because now that is built as
well. newlib still needs glibc headers that it does not provide, right?
> No, you should not be treating the configuration as a cross build.
Note that the configuration is treated as a cross build only as far as
allowing --with-headers.
On one hand your point is right that libgcov should find the headers if
--with-newlib is given; on the other hand, it seems like gcc disables
this on purpose, by defining -Dinhibit_libc if it finds --with-newlib.
> The libc/sys/linux code is already LGPL so if you contribute an LGPL
> solution, that is ok so long as everything works for a basic program.
> Scripts for building x86-linux executables today won't be linking in
> crti.o or crtn.o so you might look at making references weak so that
> crti/crtn are not always required.
Yes, thanks.
Paolo
More information about the Newlib
mailing list