Changes between Version 16 and Version 17 of TBR/UserManual/MinGW_Tools_for_Windows
- Timestamp:
- 08/27/06 16:55:36 (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TBR/UserManual/MinGW_Tools_for_Windows
v16 v17 16 16 The source code for the tools is under the GNU GPL and can be found here ftp://www.rtems.org/pub/rtems/SOURCES. 17 17 18 Click on the target link above to install the tools. These tools are currenty missing GDB. This is to be added next. 18 Click 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. 19 19 20 20 To 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: … … 33 33 The 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/. 34 34 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.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. 36 36 37 37 * [http://prdownloads.sf.net/mingw/MinGW-5.0.2.exe?download MinGW Tools] … … 45 45 46 46 If 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 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: 49 50 C:/rtems/arm /home/chrisjohns/rtems/4.7/build/rpm 51 52 If you install MSYS to a non-default location you will need to update the <tt>C:\rtems\arm</tt> yourself. 47 53 = Building RTEMS = 48 54