http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47836
Summary: Some Cross Compiler can't build target-libiberty or
target-zlib
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47836
--- Comment #2 from th.r.klein at web dot de 2011-02-22 19:39:27 UTC ---
For example a microcontroller do not need to have any kind of standard
C-Library files or its header files.
So it is not possible to build e.g. zlib or libiberty for this
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47836
--- Comment #4 from th.r.klein at web dot de 2011-02-23 17:56:54 UTC ---
The original failing process was:
../../env/src/configure --prefix=${HOME}/local --with-mpc=${HOME}/local
--with-mpfr=${HOME}/local --with-gmp=${HOME}/local --with-ppl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47836
--- Comment #6 from th.r.klein at web dot de 2011-02-24 19:42:39 UTC ---
Since I did not need to have libc I also did not need to have libstdc++-v3,
too.
Also I did not need to have libgomp, libmudflap, libffi, libssp, libquadmath,
boehm-gc ..
But
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47836
--- Comment #8 from th.r.klein at web dot de 2011-02-27 09:23:44 UTC ---
Exactly this is the current problem, there is neither a working switch like
--disable-target-zlib nor a working --disable-target-libiberty.
(sorry if confusing you by using
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47836
--- Comment #10 from th.r.klein at web dot de 2011-02-28 19:52:12 UTC ---
If you can't imagine how to get a usable C++ compiler without libstdc++-v3 (and
libc), please stop wasting your time in thinking about it.
Here is no C++ problem at al
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47836
--- Comment #15 from th.r.klein at web dot de 2011-06-24 11:10:27 UTC ---
The commit helps suppress building of target-libiberty.
But there is still a try to build target-zlib.
Isn't it possible to add a manual switch to prevent building of