Cross Compiling Problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux