Cygwin / GCC
Kayvan A. Sylvan
kayvan@sylvan.com
Thu Feb 28 08:45:00 GMT 2002
On Thu, Feb 28, 2002 at 09:18:43AM -0600, Keen Wayne A Contr AFRL/MNGG wrote:
> 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 as
> 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 to
gcc when linking (to ensure that the proper stdc++ and other libraries
are linked in).
I usually do something like:
./configure --prefix=/some/location
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).
Best regards,
---Kayvan
[[ 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 (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20020228/a351882a/attachment-0001.sig>
More information about the Gcc-help
mailing list