Changes between Version 3 and Version 4 of TBR/UserManual/MinGW_Tools_for_Windows


Ignore:
Timestamp:
07/21/06 07:31:56 (18 years ago)
Author:
ChrisJohns
Comment:

Move the rtems.bat file and add how to build.

Legend:

Unmodified
Added
Removed
Modified
  • TBR/UserManual/MinGW_Tools_for_Windows

    v3 v4  
    2020
    2121 > arm-rtems4.7-gcc
     22
     23You can add a batch file for RTEMS which will give you a Windows command window ready to run:
     24
     25 > type rtems.bat
     26 @echo off
     27 set PATH=c:\rtems;c:\mingw\bin;c:\msys\1.0\bin;%PATH%
     28 set PROMPT=RTEMS(arm) $P$G
     29 If "x%OS%x" == "xwindows_NTx" Goto WinNT_Title
     30 exit
     31 :WinNT_Title
     32 Title RTEMS(arm)
     33 doskey > Nul
     34
     35Place this in the install point and create a Desktop short cut or Quick Start short cut.
    2236= Setting Up MinGW =
    2337
     
    3246Click on the above and install each package. The default settings for these package should be ok for most users.
    3347
    34 If you have Cygwin installed, or another package which contains Cygwin you should consider remove any paths from your global path variable to them and using batch files to set paths specifically. It can be confusing if you end up mixing them. An example batch file for RTEMS is:
     48If you have Cygwin installed, or another package which contains Cygwin you should consider remove any paths from your global path variable to them and using batch files to set paths specifically. It can be confusing if you end up mixing them. The example batch file above shows how you can manage specific paths.
    3549
    36  > type rtems.bat
    37  @echo off
    38  set PATH=c:\rtems;c:\mingw\bin;%PATH%
    39  set PROMPT=RTEMS(arm) $P$G
    40  If "x%OS%x" == "xwindows_NTx" Goto WinNT_Title
    41  exit
    42  :WinNT_Title
    43  Title RTEMS(arm)
    44  doskey > Nul
     50With MSYS you can run the RTEMS configure script. You can use the MSYS shell which you can find as a menu of Desktop icon. This is just like a Unix shell. 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.
    4551
    46 Place this in the install point and create a Desktop short cut or Quick Start short cut.
     52If 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.
     53= Building RTEMS =
     54
     55
     56To build RTEMS with the source code in a directory 'c:\rtems\src\rtems' you would do the following:
     57
     58 > c:
     59 > cd \rtems\src
     60 > mkdir m68k
     61 > cd m68k
     62 > sh ../rtems/configure --target=m68k-rtems4.7 --enable-multilib --prefix=/c/rtems