Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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/