Changes between Version 16 and Version 17 of TBR/UserManual/MinGW_Tools_for_Windows


Ignore:
Timestamp:
Aug 27, 2006, 4:55:36 PM (14 years ago)
Author:
ChrisJohns
Comment:

Add the automake hack info.

Legend:

Unmodified
Added
Removed
Modified
  • TBR/UserManual/MinGW_Tools_for_Windows

    v16 v17  
    1616The source code for the tools is under the GNU GPL and can be found here ftp://www.rtems.org/pub/rtems/SOURCES.
    1717
    18 Click on the target link above to install the tools. These tools are currenty missing GDB. This is to be added next.
     18Click on the target link above to install the tools. These tools are currenty missing GDB. This is to be added next. If you wish to use the Autotools such as autoconf and automake you should install MinGW and MSYS first.
    1919
    2020To test the tools run the <tt>rtems-cmd.bat</tt> file installed as part of the package. This will open a Windows Command prompt (cmd) with the path to the installed tools. enter the GCC command for your tool set. For example the ARM GCC command is:
     
    3333The tools as installed do not need any extra packages, DLLs or installs to work. You could use any available make program or tools to build any RTEMS application. If you want some excellent tools or wish to build RTEMS on Windows the MinGW project provides just what you need. You can find the MinGW project at http://www.mingw.org/.
    3434
    35 The MinGW project has 2 packages we are interested in using. The first MinGW package which contains a Windows native GCC compiler, and GNU make (called mingw32-make). The second package is MSYS for Minimal SYStem. It is a stand alone package based on the excellent and sucessful Cygwin package but simplifed to providing a self hosted mingw32 target POSIX style environment. It provides a shell with enough functionality to run configure scripts from the autooconf package. It is simpler to install and setup than the larger more complex Cygwin package.
     35The MinGW project has 2 packages we are interested in using. You should install both before you install the RTEMS tools. The first MinGW package which contains a Windows native GCC compiler, and GNU make (called mingw32-make). The second package is MSYS for Minimal SYStem. It is a stand alone package based on the excellent and sucessful Cygwin package but simplifed to providing a self hosted mingw32 target POSIX style environment. It provides a shell with enough functionality to run configure scripts from the autooconf package. It is simpler to install and setup than the larger more complex Cygwin package.
    3636
    3737 *  [http://prdownloads.sf.net/mingw/MinGW-5.0.2.exe?download MinGW Tools]
     
    4545
    4646If you wish to modify RTEMS and need to run autoconf, automake or any of the autotools you will need to install the [http://prdownloads.sf.net/mingw/msysDTK-1.0.0.exe?download MinGW MSYS Developers Tool] kit.
     47
     48The RTEMS installer checks to see if the MSYS <tt>/etc/fstab</tt> is present and appends the prefix the tools are built with as a mount to the install point you set in the installer. This is a work around to get automake to work. The automake package cannot be relocated so this work around creates the tool's prefix for the MSYS environment automake uses. For example the tools can have a prefix of <tt>/home/chrisjohns/rtems/4.7/build/rpms</tt> and the tools are installed to <tt>C:\rtems\arm</tt>. The <tt>/etc/fstab</tt> will have the following entry:
     49
     50 C:/rtems/arm /home/chrisjohns/rtems/4.7/build/rpm
     51
     52If you install MSYS to a non-default location you will need to update the <tt>C:\rtems\arm</tt> yourself.
    4753= Building RTEMS =
    4854