This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GCC 3.3.6 building 3.4.4: Link tests are not allowed after GCC_NO_EXECUTABLES


I recently (in the last 30 minutes) changed my native compiler from
GCC 4.10 - the version that comes with SuSE 10.1 - to GCC 3.3.6
I installed it as follows:

rm -rf gcc-3.3.6
tar xvzf gcc-3.3.6.tar.gz

rm -rf gcc-build
mkdir gcc-build
cd gcc-build

../gcc-3.3.6/configure ${PREFIX} --enable-languages=c,c++

make bootstrap
make install

Then I tried to build GCC 3.4.4 as part of the arm-linux toolchain
unfortunately I hit the following error:

checking float.h usability... no
checking float.h presence... yes
configure: WARNING: float.h: present but cannot be compiled
configure: WARNING: float.h:     check for missing prerequisite headers?
configure: WARNING: float.h: see the Autoconf documentation
configure: WARNING: float.h:     section "Present But Cannot Be Compiled"
configure: WARNING: float.h: proceeding with the preprocessor's result
configure: WARNING: float.h: in the future, the compiler will take precedence
configure: WARNING:     ## ----------------------------------------- ##
configure: WARNING:     ## Report this to the package-unused lists.  ##
configure: WARNING:     ## ----------------------------------------- ##
checking for float.h... yes
checking for endian.h... (cached) no
checking for inttypes.h... (cached) no
checking locale.h usability... no
checking locale.h presence... no
checking for locale.h... no
checking for float.h... (cached) yes
checking for stdint.h... (cached) no
checking for main in -lm... configure: error: Link tests are not
allowed after GCC_NO_EXECUTABLES.
make: *** [configure-target-libstdc++-v3] Error 1

is this related to the compilers configuration? or is this error
related to something else?
I've attached the build script in case anybody wishes to view it
Thank you

Attachment: rowan-build.sh
Description: Bourne shell script

--
For unsubscribe information see http://sourceware.org/lists.html#faq

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]