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]

Re: Cross Compiler linux->Win32


Do a Google for "MinGW cross" and you'll get this
http://members.telering.at/jessich/mingw/mingwcross/mingw_cross.html
as second (?) hit - it should help you out nicely.

HTH

rlc

NB: MinGW is Minumalist GNU for Windows: http://www.mingw.org

On Wed, Aug 06, 2003 at 09:23:02PM -0500, jcornado@grandecom.net wrote:
> 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

-- 
Virtue is a relative term.
		-- Spock, "Friday's Child", stardate 3499.1

------
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]