This is the mail archive of the
mailing list for the GCC project.
RE: Cygwin / GCC
- From: "Dockeen" <dockeen at mchsi dot com>
- To: "Kayvan A. Sylvan" <kayvan at sylvan dot com>,"Keen Wayne A Contr AFRL/MNGG" <keenwa at eglin dot af dot mil>
- Cc: <gcc-help at gcc dot gnu dot org>
- Date: Fri, 1 Mar 2002 07:02:29 -0600
- Subject: RE: Cygwin / GCC
I appear to have had my first success from last nights
work using your information!
I got hello world to compile under the new g++!!!!!!!!
I gotta go get my son ready for school, this weekend I
will write up what I did so everyone who is like me
(a VERY short list) can avoid some things.
Wayne (not so) Keen
From: Kayvan A. Sylvan [mailto:firstname.lastname@example.org]
Sent: Thursday, February 28, 2002 10:33 AM
To: Keen Wayne A Contr AFRL/MNGG; Dockeen
Subject: Re: Cygwin / GCC
On Thu, Feb 28, 2002 at 09:18:43AM -0600, Keen Wayne A Contr AFRL/MNGG
> Out of curiousity, I'm wondering if you have ever built gcc anywhere other
> than cygwin.
> It should be as simple as the above and, in my experience, it usually is.
> In theory, cygwin is supposed to make things as easy to build on Windows
> on UNIX.
With the latest Cygwin (1.3.9) and all the related packages (basically
doing a full install from the internet using the Cygwin setup.exe),
it is almost trivial to build a working GCC.
My Windows machine now is Windows XP but I have also build GCC and lots
of other Unix-centric software using Cygwin on NT and Win9x (I am right now
running the UDE X-window manager, compiled from source, for example).
Currently, I have gcc-2.95, gcc-3.0.3 and the latest CVS version of GCC
installed. The only "gotcha" is that I sometimes need to give the "-L" flag
gcc when linking (to ensure that the proper stdc++ and other libraries
are linked in).
I usually do something like:
make LANGUAGES=c bootstrap install
make -k CC=/some/location/bin/gcc
make -k install
The "make -k" tells make to continue on even though a couple of targets
fail (I seem to recall problems with fastjar).
[[ Available for consulting. http://www.sylvan.com/~kayvan/Resume.html ]]
Kayvan A. Sylvan | Proud husband of | Father to my kids:
Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)