This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Environment


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]