delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/24/00:45:51

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Originating-IP: [192.234.181.70]
X-Originating-Email: [l0ci AT hotmail DOT com]
From: "Tim Renner" <l0ci AT hotmail DOT com>
To: cygwin AT cygwin DOT com, jbuehler AT hekimian DOT com
Subject: Re: Success! Cross Compiler Linux to Cygwin
Date: Thu, 24 Apr 2003 00:45:37 -0400
Mime-Version: 1.0
Message-ID: <Law11-F859FFIXR5lK00000749c@hotmail.com>
X-OriginalArrivalTime: 24 Apr 2003 04:45:38.0302 (UTC) FILETIME=[5A1259E0:01C30A1C]

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 AT exposure DOT org DOT uk>
>To: "cygwin" <cygwin AT cygwin DOT com>,<jbuehler AT hekimian DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019