What is the difference between Cygwin and GCC releases ?
Timothy C Prince
tprince@myrealbox.com
Mon Jan 13 03:30:00 GMT 2003
-----Original Message-----
From: "Aaron Gray" <aarongray@beeb.net>
To: <cygwin@cygwin.com>
Date: 2003年1月10日 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
More information about the Cygwin
mailing list