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


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/


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