This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Configuring and compiling GCC for Windows machine
- From: Oscar Fuentes <ofv at wanadoo dot es>
- To: Mark Butcher <M_J_BUTCHER at compuserve dot com>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>, Hannes Figel <jfigel at charter dot net>
- Date: 21 May 2002 00:06:09 +0200
- Subject: Re: Configuring and compiling GCC for Windows machine
- References: <200205201743_MC3-FECD-2222@compuserve.com>
- Reply-to: gcc-help at gcc dot gnu dot org
Mark Butcher <M_J_BUTCHER@compuserve.com> writes:
[snip]
> 6. Downloaded cygwin and installed it so that the cygwin bash shell runs
> 7. Downloaded a binary version of the compiler MinGW going through the same
> procedured of decompiling and extracting. I set up the path of the compiler
> in my Windows Autoexec.bat and can successfully test the compiler in a dos
> shell with gcc -v. In cygwin bash shell there is the save positive
> response.
Why don't you download the complete Cygwin package, including it's
gcc?
[snip]
> b. There are error messages because "sed" and "cat" are not found
AFAIK, 'sed' is required, and most likely 'cat' is required too.
[snip]
> I wonder whether it would be an idea to make a step by step guide for a
> typical compiler build for a Windows Newbee ?
Do you really want to build gcc yourself. MinGW has a pre-built gcc
3.1 available. It's labeled as beta, but the true is that it works
quite ok. You will find help for whatever problem appears on the
mingw-users mailings list.
In any case, gcc 3.0.4 builds correctly in a complete Cygwin
environment. gcc 3.1 buidls too in a MSYS environment (see MinGW
mailing page for MSYS).
> If someone could help me complete the job I would be more than
> willing to contribute it based on the steps I have so far
> documented. With such a guide I could probably already have saved a
> couple of days of frustration....
Just get MinGW.
--
Oscar