Success! Cross Compiler Linux to Cygwin

Tim Renner l0ci@hotmail.com
Thu Apr 24 09:13:00 GMT 2003


Glad the instructions could help :)

I built the cross compiler for 2.95.3, not 3.2, don't know if that will make 
a difference...  but I had the w32api installed, so when I brought over my 
include and lib directories from my Cygwin install to 
/cross/i686-pc-cygwin/, I ended up with two directories, 
/cross/i686-pc-cygwin/include/w32api/ and /cross/i686-pc-cygwin/lib/w32api/

and everything is working alright...    Does compiling and linking with 
-mno-cygwin work under your Cygwin install?

-Tim

>From: "Elfyn McBratney" <elfyn-cygwin@exposure.org.uk>
>To: "cygwin" <cygwin@cygwin.com>,<jbuehler@hekimian.com>
>Subject: Re: Success!  Cross Compiler Linux to Cygwin
>Date: Wed, 23 Apr 2003 22:43:36 +0100
>
> > Tim Renner wrote:
> >
> > > Success!  I got it working ;)  Ignore my last post, I read the advice
> > > wrong ;)  Anyways... here are the exact steps I went through... this 
>is
> > > only for building the 2.95.3-10 version of gcc, which is what I
> > > needed... I havn't tried to patch up 3.2-2 yet...  If anyone uses 
>these
> > > instructions, let me know how well they work or what you had to do to
> > > tweak it...
> > >
> > > I am using: RedHat Linux 7.2, gcc version 2.95.3, binutils version
> > > 2.11.90.0.8
> >
> > Thank you very much for the instructions.  I just built a 3.2
>cross-compiler.
> >
> > However, the -mno-cygwin option does not work.  You might check and make
>sure
> > you really built the necessary files for it -- you might be using a
>previously-
> > built version?
> >
> > If someone would enlighten me as to how to build the -mno-cygwin files, 
>I
>will
> > post the resulting build script for posterity's sake.
> > --
> > Joe Buehler
>
>What happens when you try and link an executable using '-mno-cygwin'? Do 
>you
>have the full w32api package installed? What (link)errors do you get? Do 
>you
>have the the .../i686-pc-{cygwin,mingw} trees set-up?
>
>I have this working but haven't attempted doing it myself yet, a colleague
>compiled it on our servers.
>
>Elfyn
>
>
>--
>Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>Problem reports:       http://cygwin.com/problems.html
>Documentation:         http://cygwin.com/docs.html
>FAQ:                   http://cygwin.com/faq/
>


_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list