Hello!
I try to build a cross compiler with sysroot support- before I build one
without sysroot support.
To build without sysroot support I used the following configure options:
--prefix="${CROSS_DIR}" --target="${BUILD_TARGET}" --with-cpu=405 --disable-nls
--disable-shared --disable-multilib --disable-decimal-float --disable-threads
--disable-libmudflap --disable-libssp --disable-libgomp --enable-languages=c
It compiled without having a libc installed (just binutils, of course).
Now I want to build a cross compiler with sysroot- support (binutils compiled
fine) with the following options:
--prefix="${CROSS_DIR}" --target="${BUILD_TARGET}"
--with-sysroot="${CROSS_DIR}" --with-cpu=405 --disable-nls --disable-shared
--disable-multilib --disable-decimal-float --disable-threads
--disable-libmudflap --disable-libssp --disable-libgomp --enable-languages=c
Now libc- headers are needed. Even when --without-headers is given as option.
I don't understand that.
--
Summary: [GCC-4.4.0] configure --with-sysroot needs header files,
but it should not
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: no dot spam dot to dot me at ish dot de
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: powerpc-405-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40353