- Timestamp:
-
08/19/07 11:35:49 (17 years ago)
- Author:
-
ChrisJohns
- Comment:
-
Updated to the new
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v30
|
v31
|
|
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. 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. |
| 35 | The 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. |
36 | 36 | |
37 | 37 | * [http://prdownloads.sf.net/mingw/MinGW-5.0.2.exe?download MinGW Tools] |
38 | 38 | * [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] |
39 | 40 | |
40 | 41 | Click on the above and install each package. The default settings for these package should be ok for most users. |
… |
… |
|
42 | 43 | If 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. |
43 | 44 | |
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. |
| 45 | With 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. |
45 | 46 | |
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. |
| 47 | If 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''. |
47 | 48 | |
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): |
| 49 | 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. The <tt>/etc/fstab</tt> will have the following entry (rtems4.8): |
49 | 50 | |
50 | 51 | C:/opt/rtems-4.8 /opt/rtems-4.8 |