Building a cross compiler, and unsure about the use of --without-headers

Kai Ruottu kai.ruottu@wippies.com
Wed Mar 16 15:58:00 GMT 2011


16.3.2011 17:48, Kai Ruottu kirjoitti:

>>> (snip) .... Or the whole 'newlib' and 'libgloss' sources in the
>>> main GCC source dir if wanting to build newlib at the same time
>>> with the GCC... Then the whole GCC, C& C++ compilers, libgcc,
>>> libstdc++ etc. will be built in only one build stage! Without or
>>> with newlib...

Just for a fun I tried this for 'sparc-elf' with gcc-4.4.5 and
newlib-1.18.0 sources. I had 'gmp', 'mpfr', 'newlib' and 'libgloss'
as the extra subdirs, so the first two were configured and built for
the $host and the last two for the $target... The 'make install' just
going on, earlier 'make' had no problems...



More information about the Gcc-help mailing list