Changes between Version 30 and Version 31 of TBR/UserManual/MinGW_Tools_for_Windows


Ignore:
Timestamp:
Aug 19, 2007, 11:35:49 AM (12 years ago)
Author:
ChrisJohns
Comment:

Updated to the new

Legend:

Unmodified
Added
Removed
Modified
  • TBR/UserManual/MinGW_Tools_for_Windows

    v30 v31  
    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. 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.
     35The MinGW project has 3 packages we are interested in using. You should install them before you install the RTEMS Tools. The first MinGW package contains a Windows native GCC compiler, and GNU make (called mingw32-make). The second package is MSYS for Minimal SYStem (MSYS), and the third is the Minimal SYStem Developers Tool Kit (MSYS DTK). MSYS 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</code> 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]
    3838 *  [http://prdownloads.sf.net/mingw/MSYS-1.0.10.exe?download MSYS Installer]
     39 *  [http://prdownloads.sf.net/mingw/msysDTK-1.0.0.exe?download MinGW MSYS Developers Tool Kit]
    3940
    4041Click on the above and install each package. The default settings for these package should be ok for most users.
     
    4243If you have Cygwin installed, or another package which contains Cygwin you should consider removing any paths to it from your global path variable and using batch files to set paths specifically. It can be confusing if you end up mixing all of together. The example batch file above shows how you can manage specific paths for MinGW and RTEMS.
    4344
    44 With MSYS you can run the RTEMS configure script. You can use the MSYS shell which you can find as a menu or Desktop icon. This is just like a Unix shell so you need to know some basic Unix commands to use. You can also run configure from a Windows command prompt started with the rtems.bat file shown above by placing "sh" before the configure command.
     45With MSYS you can run the RTEMS {{{configure</code> script. You can use the MSYS shell which you can find as a menu or Desktop icon. This is just like a Unix shell so you need to know some basic Unix commands to use. You can also run {{{configure</code> from a Windows command prompt started with the rtems.bat file shown above by placing ''sh'' before the {{{configure</code> command.
    4546
    46 If you wish to modify RTEMS and/or 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.
     47If you wish to modify RTEMS and/or need to run autoconf, automake or any of the autotools you will need to install the ''MinGW MSYS Developers Tool kit''.
    4748
    48 The 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 (rtems4.8):
     49The 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. The <tt>/etc/fstab</tt> will have the following entry (rtems4.8):
    4950
    5051 C:/opt/rtems-4.8 /opt/rtems-4.8