This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [PATCH] PR other/32154
On Mon, Jun 25, 2007 at 08:54:03PM +0200, Rask Ingemann Lambertsen wrote:
> > No, Richard is mostly right. --with-newlib avoids link tests.
>
> $ mkdir ~/testbuild
> $ cd ~/testbuild
> $ /n/12/rask/src/all/configure --target=m32r-unknown-elf --with-newlib --enable-languages=c,c++ --disable-{nls,gdb}
> $ make
> ...
> checking whether -lc should be explicitly linked in... yes
> checking dynamic linker characteristics... no
> checking how to hardcode library paths into programs... immediate
> checking for shl_load... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
> make[1]: *** [configure-target-libstdc++-v3] Error 1
> make[1]: Leaving directory `/home/rask/testbuild'
> make: *** [all] Error 2
Not that one, apparently. It looks like the latest import of libtool
may have broken this. Just a guess though.
> > So do various target triplets.
>
> Examples?
See crossconfig.m4.
--
Daniel Jacobowitz
CodeSourcery