delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/01/08/08:57:02

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
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. Com" <cygwin AT cygwin DOT com>
Subject: RE: Cygwin for windows to linux migration
Date: Tue, 8 Jan 2002 08:54:28 -0500
Message-ID: <NEBBJEEGLOJAOMOBOKCBOEBIEAAA.perry@hks.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
In-Reply-To: <015a01c19815$26a49520$0200a8c0@lifelesswks>
X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Importance: Normal

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 AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com]On Behalf
> Of Robert Collins
> Sent: Tuesday, January 08, 2002 2:22 AM
> To: Laurence F. Wood; Cygwin AT 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 AT SunyataSystems DOT Com>
> To: "Cygwin AT Cygwin. Com" <cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019