Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Stephen Perry" To: "Robert Collins" , "Laurence F. Wood" , "Cygwin AT Cygwin. Com" Subject: RE: Cygwin for windows to linux migration Date: Tue, 8 Jan 2002 08:54:28 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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" > To: "Cygwin AT 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/