This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Cross Compiling Problem
- From: "Jose Cornado" <jcornado at grandecom dot net>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Tue, 5 Aug 2003 17:09:26 -0700
- Subject: Cross Compiling Problem
- Reply-to: <jcornado at grandecom dot net>
Guys:
I need to do the following: create a gcc cross-compiler where the host is
i686-pc-linux-gnu and the target is i686-pc-winnt. (I am using 3.2.3 sources
for GCC)
I have already successfully created the binutils for the specific target. (I
do not recall the version of binutils but it is the one before the latest)
When I tried to configure gcc, it fails with "configuration not supported"
even though "i686-pc-winnt" succeeded for binutils.
I changed $target just before calling config.gcc and it configures (I
changed i686-pc-winnt to i686-pc-win32)
But the make process stops while making gcc with the following error:
libbackend.a (winnt.o) In function i386_pe_file_end:
"PATH" to GCC/config/i386/winnt.c undefined reference to 'drectve_section'
"PATH" to GCC/config/i386/winnt.c undefined reference to
'I386_PE_STRIP_ENCODING'
Any thoughts?
I am using gcc 2.96 (the one that comes with RH 7.3)
Thanks a lot!