public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Cygwin for windows to linux migration
@ 2002-01-07 23:21 Laurence F. Wood
  2002-01-07 23:22 ` Robert Collins
  0 siblings, 1 reply; 4+ messages in thread
From: Laurence F. Wood @ 2002-01-07 23:21 UTC (permalink / raw)
  To: Cygwin@Cygwin. Com

Does anyone have any experience migrating a large Windows application to
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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Cygwin for windows to linux migration
  2002-01-07 23:21 Cygwin for windows to linux migration Laurence F. Wood
@ 2002-01-07 23:22 ` Robert Collins
  2002-01-08  5:55   ` Stephen Perry
  0 siblings, 1 reply; 4+ messages in thread
From: Robert Collins @ 2002-01-07 23:22 UTC (permalink / raw)
  To: Laurence F. Wood, Cygwin@Cygwin. Com

Uhhh, you've the wrong idea about Cygwin. It's used to migrate linux
apps to windows.

You want WINE.

Rob
===
----- Original Message -----
From: "Laurence F. Wood" <LaurenceWood@SunyataSystems.Com>
To: "Cygwin@Cygwin. Com" <cygwin@cygwin.com>
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
to
> 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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: Cygwin for windows to linux migration
  2002-01-07 23:22 ` Robert Collins
@ 2002-01-08  5:55   ` Stephen Perry
  2002-01-09  3:40     ` Robert Collins
  0 siblings, 1 reply; 4+ messages in thread
From: Stephen Perry @ 2002-01-08  5:55 UTC (permalink / raw)
  To: Robert Collins, Laurence F. Wood, Cygwin@Cygwin. Com

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:
http://www.fox-toolkit.org/
It has its roots at sourforge as well:
http://sourceforge.net/projects/foxgui/

Good Luck,
Steve


> -----Original Message-----
> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.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.
>
> Rob
> ===
> ----- Original Message -----
> From: "Laurence F. Wood" <LaurenceWood@SunyataSystems.Com>
> To: "Cygwin@Cygwin. Com" <cygwin@cygwin.com>
> 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
> to
> > 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
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Cygwin for windows to linux migration
  2002-01-08  5:55   ` Stephen Perry
@ 2002-01-09  3:40     ` Robert Collins
  0 siblings, 0 replies; 4+ messages in thread
From: Robert Collins @ 2002-01-09  3:40 UTC (permalink / raw)
  To: Stephen Perry, Laurence F. Wood, Cygwin@Cygwin. Com

----- Original Message -----
From: "Stephen Perry" <perry@hks.com>


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

Yes, nearly complete implementation (only one key feature - cancellation
points - missing)... Oh signals per thread needs a little work.

Apparently the code is pretty fast :}. (Another project, an IBM
mainframe emulator bench tested cygwin threads vs Native threads vs
libpthread-win32 (another pthreads-on-win32 library, but unable to be as
complete as cygwin (can't assume a unix environment)), and native
threads where (of course) fastest, but we came out even with
libpthread-win32, and that was before some major speed enhancements.

Rob


--
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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-01-09 11:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-07 23:21 Cygwin for windows to linux migration Laurence F. Wood
2002-01-07 23:22 ` Robert Collins
2002-01-08  5:55   ` Stephen Perry
2002-01-09  3:40     ` Robert Collins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).