This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [v3] use AM_ICONV
Ian Lance Taylor <iant@google.com> writes:
| DJ Delorie <dj@redhat.com> writes:
|
| > > ../trunk/configure --prefix=/home/iant/gcc/m32c-elf-install
| > > --with-mpfr=/home/iant/gnu/mpfr-2.2.0-install --target=m32c-elf
| >
| > You need --with-newlib
|
| I don't think libstdc++-v3 should fail to configure because I didn't
| specify --with-newlib. In particular I don't think it should fail to
| configure with a meaningless error message.
|
| I just confirmed that it fails with
|
| appending configuration tag "CXX" to libtool
| checking for ld used by GCC... /home/iant/gcc/m32c-elf/./gcc/collect-ld
| checking if the linker (/home/iant/gcc/m32c-elf/./gcc/collect-ld) is GNU ld... yes
| checking for shared library run path origin... done
| checking for iconv... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
| make: *** [configure-target-libstdc++-v3] Error 1
Funny. I wasn't paying close attention. Well, not funny. :-(
One of my students just reportd that exact same error to me this
morning, and I had no clue what it was about. Note that I instructed
them to faithfully follow the instructions at
http://gcc.gnu.org/simtest-howto.html
about how to build and test GCC on a simulator.
In their specific case, they had --target=powerpc-unknown-eabi.
So, yes, I agree with Ian. The error message give no clue. :-(
Either the simulator instructions need to be updated, or somehow
libstdc++ needs to be fixed.
-- Gaby