This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: What is the difference between Cygwin and GCC releases ?



-----Original Message-----
From: "Aaron Gray" <aarongray@beeb.net>
To: <cygwin@cygwin.com>
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]