This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/18467] crosscompiler doesn't build with newlib
- From: "pluto at pld-linux dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Nov 2004 08:43:00 -0000
- Subject: [Bug bootstrap/18467] crosscompiler doesn't build with newlib
- References: <20041113191907.18467.pluto@pld-linux.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pluto at pld-linux dot org 2004-11-14 08:42 -------
(In reply to comment #2)
> For linux you have to use glibc as that is only one supported for unwinding.
(...)
+ cd obj-arm-pld-linux
+ ../configure \
--prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man \
--bindir=/usr/bin --libdir=/usr/lib --libexecdir=/usr/lib \
--disable-shared --disable-threads --enable-languages=c,c++ \
--with-gnu-as --with-gnu-ld --with-system-zlib --with-multilib \
--with-headers=/home/users/pluto/rpm/BUILD/gcc-3.4.3/libc/include \
--without-x \
--target=arm-pld-linux \
--host=pentium3-pld-linux \
--build=pentium3-pld-linux
+ CFLAGS=-O2 -march=pentium3 -pipe CXXFLAGS=-O2 -march=pentium3 -pipe
TEXCONFIG=false
creating cache ./config.cache
checking host system type... i686-pld-linux-gnu
checking target system type... arm-pld-linux-gnu
checking build system type... i686-pld-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
*** This configuration is not supported in the following subdirectories:
target-libf2c target-libffi target-boehm-gc target-zlib target-libjava
zlib fastjar target-libobjc
(Any other directories should still work fine.)
*******
Copying /home/users/pluto/rpm/BUILD/gcc-3.4.3/libc/include
to /usr/arm-pld-linux/sys-include
mkdir: cannot create directory `/usr/arm-pld-linux/sys-include': Permission
denied
cp: cannot create regular file `/usr/arm-pld-linux/sys-include/#inst.17838#':
No such file or directory
../configure[1767]: cd: /usr/arm-pld-linux/sys-include - No such file or
directory
../configure[1767]: cannot create /usr/arm-pld-linux/sys-include/COPIED: No
such file or directory
*******
Hmmm, I can't build cross-gcc (with glibc headers) inside rpmbuildroot
with uid != 0. The gcc shouldn't modify my root tree.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18467