This is the mail archive of the crossgcc@sources.redhat.com 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]

Cross Compiler linux->Win32


Guys:

I am trying to build a gcc cross compiler. 

Host = i686-pc-linux-gnu

Target = i686-pc-winnt.

I have already built binutils for the target. I used "i686-pc-winnt"

When I try to build gcc (3.2.3 or 2.95) with the same target as binutils ("--target=i686-pc-winnt"), I run into the following:

configure fails. 

If I change $target inside ./gcc/configure before calling config.gcc to "i686-pc-win32" configure finishes.

When I try to make gcc, it fails inside the gcc directory. There are a couple of undefined symbols inside winnt.c:

drectve_section and something else that I do not recall now. 

I decided to comment these two out to see what happens.

Make fails again further down. It can not find unistd.h or stdlib.h (?)

I am using RH 7.3 (out of the box) on a Dell laptop.

Thanks a lot!!!



------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com

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