Help save net neutrality! Learn more.
Close

#10 How to recompile mingw?

closed
None
5
2002-08-05
2002-02-20
No

This question is mainly for those who maintain the
binary version of mingw:

I am trying to recompile the gcc (i.e. gcc, g++, and
g77) for mingw distribution. How to do this? Do you
usually use cygwin's gcc to compile, or mingw's own
gcc?

Let me show you what I have:

- a working gcc version 2.95.3-6 (mingw distribution)
- a working cygwin environment

To make use the mingw gcc, I've set the mingw's path
to precede the cygwin's, so that cygwin tools wouldn't
be chosen in place of mingw's.

The main hurdle with using mingw's own gcc is that:
[a] mingw's gcc does not recognize POSIX-styled path
names. This can be aleviated easily.
[b] mingw's gcc does not recognize the (soft)links
that are made by the scripts.

How do you usually do it? Please help me. How does
MSYS help us in this respect? Right now I assume that
MSYS would still make the soft-links as the cygwin's
ln does.

Thanks,
Wirawan

Discussion

  • Earnie Boyd

    Earnie Boyd - 2002-08-05
    • assigned_to: nobody --> earnie
    • status: open --> closed
     
  • Luke Dunstan

    Luke Dunstan - 2002-08-11

    Logged In: YES
    user_id=30442

    MSYS is specifically designed for this purpose. If you install
    and use MSYS instead of Cygwin, you should have no
    problem building Mingw GCC.

     

Log in to post a comment.