Mingw autoconf 2.69 package

Chris Johns chrisj at rtems.org
Wed Apr 3 21:28:32 UTC 2013


Matthew J Fletcher wrote:
>
> in C:\mingw\opt\rtems-4.11\share\Autom4te\
>

If you do a 'df' in an MSYS shell you will see c:\MinGW mounted as 
"/mingw". Installing the prebuilt auto* tars here will not work. You 
need to move everything. I suggest you use 'c:\opt' and have MSYS mount 
that path.

To make the autoconf and automake work you need to match the build 
environment close enough to fool the hardcoded paths in the generated 
autoconf/automake files into working. This means you need a '/opt' 
directory in MSYS while still having the tools in a useful location for 
a normal native tool set. The MSYS root directory 'c:\MinGW\msys\1.0' is 
not a handy easy to remember location.

I suggest in MSYS you do the following:

  $ mkdir /c/opt
  $ mkdir /opt
  $ mount /c/opt /opt

It will work after this, more by luck than design. To make this set up 
fixed edit /etc/fstab to add the above entry.

Chris



More information about the users mailing list