delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/24/19:13:08

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Wed, 24 Jan 2001 15:26:43 -0800
From: Bradley Bell <bradleyb AT u DOT washington DOT edu>
To: David McNab <david AT rebirthing DOT co DOT nz>
Cc: cygwin AT cygwin DOT com
Subject: Re: Linux->Cygwin cross compiler?
Message-ID: <20010124152643.A12074@washington.edu>
References: <LAW2-OE7OeIiGXix4A200000558 AT hotmail DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.3.12i
In-Reply-To: <LAW2-OE7OeIiGXix4A200000558@hotmail.com>; from david@rebirthing.co.nz on Wed, Jan 24, 2001 at 11:16:47PM -0800

You can compile one, relatively easily.  download the -src.tar.gz files for
binutils, gcc, and cygwin from the ftp site, download this file:
http://people.debian.org/~btb/src/cygwin/cygwin-1.1.7-1/debian/rules
make sure the versions of the -src.tar.gz in "rules" match what you just
downloaded, and run:
make -f rules unpack    # to build the source tree (a bunch of symlinks)

then you should be able to:
cd src
./configure --target=i386-cygwin --prefix=/opt/cygwin # or wherever
make
make install

-brad

On Wed, Jan 24, 2001 at 11:16:47PM -0800, David McNab wrote:
> Does anyone know where I can find a cross-compiler to run on Linux (pref
> Mandrake) which will generate EXEs, DLLs etc for CYGWIN?
> 
> I humbly have to admit that I lack the experience to feel confident in
> compiling the Cygwin gcc/ld on Linux. I could probably do it over time, but
> I'd rather avoid it if it's already been done. A compiler is not a small
> piece of software.
> 
> Another issue that intimidates me is the fact that a Linux->CYGWIN gcc would
> need a largely different set of header files, libraries etc to the set used
> by native Linux gcc. If feels like there'd be more to it than just changing
> a few trivial makefile constants and #defines to keep the CYGWIN-targeted
> headers and libraries from clashing with the native Linux ones.
> 
> Would I get away with Linux's 'make', or would I need to port cygwin's make?
> 
> Any leads or advice would be deeply appreciated.
> Especially if someone could offer a URL where I could download an existing
> cross-compiler.
> 
> Please reply to david AT rebirthing DOT co DOT nz
> 
> 
> 
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple
> 

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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