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 Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Wed, 5 Feb 2003 21:36:12 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Is there anyway to use cygwin-g++ to compile a program to run on a unix box Message-ID: <20030206023612.GE14293@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <3E419F44 DOT 6CA2BA92 AT eecs DOT ku DOT edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E419F44.6CA2BA92@eecs.ku.edu> User-Agent: Mutt/1.5.1i On Wed, Feb 05, 2003 at 05:33:24PM -0600, faisal vali wrote: >I know this may sound backasswards - but does anyone know if cygwin can >be used to create an executable that will run on a certain unix >platform? No, there's no way to do this using existing cygwin tools. You could build a cross-compiler to do this. It's a complicated task, though. It would require regenerating a new version of gcc and bringing over all of the libraries for linux to your PC. If you do a google search for "cross compiler" you'll be off to a good start if you want to try this. The crossgcc at sources.redhat.com mailing list is also designed for dealing with cross compilers. cgf -- 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/