This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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: Configuring and compiling GCC for Windows machine


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


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