This is the mail archive of the cygwin@sourceware.cygnus.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]

Re: Patching/Compiling a new cygwin.dll?


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


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