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

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
Date: Sun, 6 Apr 2003 13:16:50 -0400
From: Christopher Faylor <cgf-stc AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Environment
Message-ID: <20030406171650.GA17693@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <OE29bUFVrLGdLPB88B90001f1fc AT hotmail DOT com>
Mime-Version: 1.0
In-Reply-To: <OE29bUFVrLGdLPB88B90001f1fc@hotmail.com>
User-Agent: Mutt/1.4.1i

On Sun, Apr 06, 2003 at 10:00:36AM -0700, 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?

libcygwin.a is linked automatically when you build a cygwin application.
You don't have to worry about it.  After that, cygwin1.dll needs to be
available for the program to run.

I should go without saying (but I'll say it anyway because otherwise
someone else will quickly jump in to say it) that any additional
functionality that you need in your program would require another
library for linking and possibly another DLL for running.  So if, for
instance, you need curses functionality in your program, you have to
link with a curses library.

>Does cygwin have any utilities which can modify the binary header in
>order to modify it to work with cygwin?

"modify the binary header"?  Of what?  A windows program?  No.  A
program has to be compiled and linked with cygwin's gcc.
--
Please use the resources at cygwin.com rather than sending private email.
Special for spam email harvesters: send email to aaaspam AT sourceware DOT org
and be permanently blocked from mailing lists at sources.redhat.com

--
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