This is the mail archive of the
mailing list for the Cygwin project.
RE: Cygwin for windows to linux migration
- From: "Stephen Perry" <perry at hks dot com>
- To: "Robert Collins" <robert dot collins at itdomain dot com dot au>,"Laurence F. Wood" <LaurenceWood at SunyataSystems dot Com>,"Cygwin at Cygwin dot Com" <cygwin at cygwin dot com>
- Date: Tue, 8 Jan 2002 08:54:28 -0500
- Subject: RE: Cygwin for windows to linux migration
The idea of porting from Windows to Linux/UNIX using cygwin sounds like an
interesting idea for sure. I doubt you really want WINE since it is an
emulator and I would definitely stay away from those. Stick with natively
compiled source on all platforms.
Our applications work on 7 platforms not including separate ports for
different compilers and different OS revisions (say like HP 10.20 and 11.0
and 11.11), and we compile natively on all platforms and use an X-emulation
layer on windows which we are migrating away from.
In general, Linux issues we have seen have been with the compiler, gcc, it
doesn't handle templates very well. I have not tried cygwin-gcc and
templates but would guess it should have the same problem since it is based
from the GNU source. Work has been done to fix the problems but I think we
are still working around some.
Other than templates, if you change all win32 calls to POSIX calls you
should be good to go. Including thread calls. Does cygwin support pthreads
on windows? That would be very cool, for porting purposes.
One last issue, GUI's, if you have one that is. We are currently migrating
our Windows port from an X-emulation toolkit to an open-source GUI toolkit
that we have working on all our platforms. It is Win32 on Windows and X
(not motif) on Linux. Checkout the FOX gui toolkit at:
It has its roots at sourforge as well:
> -----Original Message-----
> From: firstname.lastname@example.org [mailto:email@example.com]On Behalf
> Of Robert Collins
> Sent: Tuesday, January 08, 2002 2:22 AM
> To: Laurence F. Wood; Cygwin@Cygwin. Com
> Subject: Re: Cygwin for windows to linux migration
> Uhhh, you've the wrong idea about Cygwin. It's used to migrate linux
> apps to windows.
> You want WINE.
> ----- Original Message -----
> From: "Laurence F. Wood" <LaurenceWood@SunyataSystems.Com>
> To: "Cygwin@Cygwin. Com" <firstname.lastname@example.org>
> Sent: Tuesday, January 08, 2002 6:29 PM
> Subject: Cygwin for windows to linux migration
> > Does anyone have any experience migrating a large Windows application
> > Linux using Cygwin? If so what were your results.
> > --
> > 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/
> 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/
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html