This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/29654] New: cant build arm cross compiler
- From: "jeremy dot gorman at ngc dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Oct 2006 18:07:24 -0000
- Subject: [Bug libstdc++/29654] New: cant build arm cross compiler
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I'm starting with gcc 4.1.1 (as bundled in FC6) on a Dell Latitude D800.
Want to build gcc cross compiler for armv4tl to build a new for arm machine.
Downloaded binutils-2.17 distribution.
configured binutils with
configure --prefix=$HOME/usr/local --target=arm-linux-elf
then did "make" followed by "make install" to build the binutils
Downloaded gcc-4.1.1 distribution and untared it
Added $HOME/usr/local/bin to my path.
Created a new objdir directory next to gcc-4.1.1 distribution.
cd into new objdir, then configure gcc cross compiler as follows:
../gcc-4.1.1/configure --prefix=$HOME/usr/local --program-prefix=arm-linux-elf-
--target=arm-linux-elf
Once configured, I run "make" in the objdir, and everything runs great for a
long time, but then:
--------------- begin output from make (thousands of lines into build) -------
checking sys/machine.h presence... no
checking for sys/machine.h... no
checking for sys/types.h... (cached) no
checking fp.h usability... no
checking fp.h presence... no
checking for fp.h... no
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 ld that supports -Wl,-z,relro... yes
checking for main in -lm... configure: error: Link tests are not allowed after
GCC_NO_EXECUTABLES.
make[1]: *** [configure-target-libstdc++-v3] Error 1
make[1]: Leaving directory `/home/jwg/Desktop/gccFolder/objdir'
make: *** [all] Error 2
--------------- begin output from make (thousands of lines into build) -------
The output says to report this, so I am doing so in this bug.
-Jeremy
--
Summary: cant build arm cross compiler
Product: gcc
Version: 4.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jeremy dot gorman at ngc dot com
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: arm-linux-elf
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29654