-----Original Message-----
From: "Aaron Gray" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Date: Fri, 10 Jan 2003 16:01:32 -0000
Subject: What is the difference between Cygwin and GCC releases ?

Hi,

Is Cygwin just a build of GCC or does it have a standard set of patches
applied, or are the patches merged with GCC at appropriate GCC version
updates ?

Some of the cygwin capabilities involve patches to gcc.  If you don't use any 
cygwin-specific stuff, you can do without them.

I basically want to be able to use GCC releases on Windows if possible, how
do I go about this ?

Standard gcc (C,C++,objc,g77) includes basic cygwin support, and builds OOTB as a 
native cygwin compiler:

if building to install in a separate tree, copy the /usr/include tree, e.g. for the 
default /usr/local build, 
cp -r /usr/include /usr/local/

<sourcetree>/configure   --enable-threads=posix --disable-shared 
--enable-sjlj-exceptions

Otherwise, the instructions at gcc.gnu.org are valid.  Minor patches to target.exp are 
advisable if you run testsuite.

Time required to build and run testsuite varies from 2 hrs on 2800 Mhz HT box on up 
(significantly more time than on linux; cross building is practical).

For confirmation, and further information, check the archives of this mailing list.
Tim Prince

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

Reply via email to