cross-compilation documentation
Daniel Jacobowitz
drow@mvista.com
Mon Jun 23 14:10:00 GMT 2003
On Sun, Jun 22, 2003 at 10:48:05PM -0400, Peter Barada wrote:
>
> >> What am I missing here?
> >
> >Unless the code ends up _included_ in glibc.
> >
> >Or in any of the dozens of little applications built at the same time
> >as glibc, for instance.
>
> what 'dozens of little applications' are built by glibc, and are they
> installed and used by glibc?
Things like rpcgen, iconv, et cetera.
You also run the risk of getting parts of libgcc linked into libc and
related libraries. If those copies don't support unwinding, you lose
later.
> 1) first bootstrap compiler that has *no* libgcc which is used for the:
> 2) first glibc configurd/built only to install-headers
> 3) second bootstrap compiler can now be built(and build ligbcc) since the
> headers are in place
> 4) second glibc that is fully built using the second bootstrap
> compiler
> 5) full gcc with c++ using the second bootstrap compiler.
>
> Is there a more efficient method that *doesn't* require building two
> bootstrap compilers or effectively building glibc twice?
The way I'm describing and Dan K is also describing works. I use it
daily.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
More information about the Gcc
mailing list