Patching/Compiling a new cygwin.dll?

Geoffrey Noer noer@cygnus.com
Fri Apr 25 00:19:00 GMT 1997


kunglao@prairienet.org wrote:
> 
> For some reason, in the back of my cluttered mind, I seem to have 
> this notion that there may have once been mentioned that to compile a 
> new cygwin.dll you needed a commercial compiler like VC++.  Is that 
> true?

Nope, not at all.

> Or can you compile it with the normal cygwin gcc et al?  

Yes.

> Would a linux cross-compiler be an option?

Yes.  If you configure the sources under most standard Unix flavors
(including Linux) setting --target=i386-cygwin32, and then build the result
you will get a cross-compiler capable of compiling Win32 apps.  Once you
have this cross-compiler, you can build the native tools if you want,
setting --build=i586-linux (or whatever), --host=i386-cygwin32, and
--target=i386-cygwin32 and then doing the make.  Once you have the native
tools, you can rebuild the native tools with a simple configure and make.

-- 
Geoffrey Noer
noer@cygnus.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list