delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/06/13:19:14

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-Info: This message was accepted for relay by
smtp03.mrf.mail.rcn.net as the sender used SMTP authentication
X-Trace: UmFuZG9tSVaQDsOOxZF+gCEnA7NNKVwyOYoriwVTEEfUO2UmW4Tof0TGZtHqW5Tq
Message-ID: <3E90614D.4040709@rfk.com>
Date: Sun, 06 Apr 2003 13:18:05 -0400
From: "Larry Hall (RFK Partners, Inc.)" <lhall AT rfk DOT com>
Reply-To: lhall AT rfk DOT com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Martin <mgainty AT hotmail DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: Environment
References: <OE29bUFVrLGdLPB88B90001f1fc AT hotmail DOT com>
In-Reply-To: <OE29bUFVrLGdLPB88B90001f1fc@hotmail.com>

Martin wrote:
> Which (specific) libraries does a cygwin binary require to compile and  link
> to in order to produce
> a cygwin binary which will execute successfully within cygwin environment?
> Does cygwin have nay utilities which can modify the binary header in order
> to modify it to work with cygwin?
> Thank You,
> Martin


To build an executable from source using Cygwin, use the Cygwin provided
compiler (g++/gcc, g77, etc).  This links in cygwin1.dll.  cygwin1.dll
provides POSIX support.  Cygwin does not have a special binary format.  The
executables created by it's compilers target the Windows platform.  There
is no need to modify the binary that results in any way in order to get
it to run with Cygwin or Windows.


-- 
Larry Hall                              lhall AT rfk DOT com
RFK Partners, Inc.                      http://www.rfk.com
838 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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