I did:
../configure --target=arm-linux --prefix=/usr/local/DIR/gcc-arm- svn20060904
--enable-languages=c --with-as=/usr/local/bin/arm-linux-as
--with-ld=/usr/local/bin/arm-linux-ld --without-headers --disable-shared
--disable-multilib --enable-threads=single --disable-nls --disable-libmudflap
--disable-libssp
make
error message:
<-- snip -->
...
checking for pid_t... no
checking for library containing strerror... configure: error: Link tests are
not
allowed after GCC_NO_EXECUTABLES.
make[1]: *** [configure-target-libiberty] Error 1
make[1]: Leaving directory `/TMP/svn/gcc/build-arm'
make: *** [all] Error 2
<-- snip -->
The error is not specific for the arm target, I'm also getting it for several
other targets.
--
Summary: [4.2 regression] configure-target-libiberty: Link tests
are not
allowed after GCC_NO_EXECUTABLES.
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bunk at stusta dot de
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: arm-unknown-linux-gnu (and several others)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28949