delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/11/11/10:25:19

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Date: Thu, 11 Nov 1999 09:23:44 -0600 (CST)
From: "M. R. Brown" <marcusb AT csd DOT uwm DOT edu>
To: Viswanath Bandi <bandiv AT txc DOT stpn DOT soft DOT net>
cc: Mumit Khan <khan AT thor DOT xraylith DOT wisc DOT edu>,
cygwin mailing list <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: cygwin binaries without cygwin1.dll -- is it possible?
In-Reply-To: <382AB8E7.769D1872@txc.stpn.soft.net>
Message-ID: <Pine.OSF.3.96.991111091343.10892B-100000@alpha3.csd.uwm.edu>
MIME-Version: 1.0

I have also been able to build cross compilers to mips as well as other
targets.  Gas can be built with the mingw32 tools and run native on win32
(e.g. without cygwin1.dll).  If it's just binutils you're building (gas,
etc.) then you can get away with:

./configure --target=mips-mips-elf --host=i386-mingw32 \
	--build=i586-pc-cygwin32 -v 

You just have to make sure that you have the mingw32 compiler and tools on
your path (i386-mingw32-gcc, i386-mingw32-gas, etc.).  This also means a
little more work on your part unpackaging mingw32 and setting up file
locations, etc.  This is a Canadian Cross (BUILDing tools to execute on a
HOST machine to generate code for a TARGET).

This is just an abridged version of the process as I don't have the time
to write something more detailed.  You can find more info on cross
compilers from http://www.objsw.com, Mumit Khan's site, and archives of
this list and the crossgcc list.

Hope this helps,

Marcus

On Thu, 11 Nov 1999, Viswanath Bandi wrote:

> Hello Mumit,
> 
> After the given by you and Tim, I was able to build gas
> with host = i586-pc-cygwin32 and target = mips-mips-elf.
> It is working fine.
> 
> I am just wondering if we can use these executables
> without getting cygwin installed? i.e., if I don't have
> cygwin tools installed and I have only these 
> executables(as.exe & gasp.exe). Is it possible? 
> If possible, how it can be done?
> 
> When I tried to run them independently, it is giving error
> that it can't fine "cygwin1.dll".
> 
> Thanks for your earlier help and coming advance :-)
> 
> viswanath
> 
> 
> -- 
>     \\ | //
>     ( 0 0 )
> ---oOo - oOo---
> 
> Viswanath Bandi,
> AMTS,
> TranSwitch India.
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
> 
> 
> 



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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