This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


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: setup changes to build standalone




> -----Original Message-----
> From: Christopher Faylor [mailto:cgf@redhat.com] 
> Sent: Friday, April 26, 2002 2:07 PM
> To: cygwin-apps@cygwin.com
> Subject: Re: setup changes to build standalone
> 
> 
> On Fri, Apr 26, 2002 at 01:44:32PM +1000, Robert Collins wrote:
> >> 2) The above won't work in a cross build environment.  You 
> could say
> >>    CC='i686-pc-cygwin-gcc -mno-cygwin'..., I guess.
> >
> >for cross compiles:
> >../setup/configure --host=i686-pc-mingw32 --build-i686-pc-linux
> >should do it (assuming a mingw32 cross compiler is present), or a
> >combination using the CC string you have above with the 
> mingw host will
> >work too.
> 
> Assuming you have a mingw cross compiler is what I was trying 
> to avoid. For this purpose a 'gcc -mno-cygwin' compiler 
> should work fine.
>
> I think the use of CC='i686-pc-cygwin-gcc -mno-cygwin' should 
> work everywhere though.

Cool. No issues there.

Rob


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