This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Patching/Compiling a new cygwin.dll?
- To: kunglao at prairienet dot org
- Subject: Re: Patching/Compiling a new cygwin.dll?
- From: Geoffrey Noer <noer at cygnus dot com>
- Date: Fri, 25 Apr 1997 00:18:57 -0700 (PDT)
- Cc: gnu-win32 at cygnus dot com
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".