Changes between Version 19 and Version 20 of TBR/UserManual/MinGW_Tools_for_Windows


Ignore:
Timestamp:
Sep 8, 2006, 3:46:27 PM (14 years ago)
Author:
ChrisJohns
Comment:

Update building RTEMS in Windows and using Emacs

Legend:

Unmodified
Added
Removed
Modified
  • TBR/UserManual/MinGW_Tools_for_Windows

    v19 v20  
    5555
    5656
    57 To build RTEMS with the source code in a directory 'c:\rtems\src\rtems' you would do the following:
     57To build RTEMS with the source code in a directory 'c:\rtems\src\rtems-4.6.99.3' you would do the following:
    5858
    5959 > c:
     
    6161 > mkdir m68k
    6262 > cd m68k
    63  > sh ../rtems/configure --target=m68k-rtems4.7 --enable-multilib --prefix=/c/rtems/m68k
     63 > sh ../rtems-4.6.99.3/configure --target=m68k-rtems4.7 --enable-multilib --prefix=/c/rtems/m68k
    6464 > sh make all install
     65
     66If you have check RTEMS out from CVS you will first need to bootstrap. If you have used Windows to check out from CVS with tools such as [http://www.tortoisecvs.org/ TortoiseCVS] the files will have DOS line endings. This causes problems with autoconf and automake and some files need to be stripped. The RTEMS bootstrap script will be modifed to handle this and until then you will need to bootstrap with the following:
     67
     68 > cd rtems-4.6.99.3
     69 > sh find . \( -name \*.ac -o -name \*.m4 -o -name \*.am -o -name \*.in \) -exec dos2unix '{}' \;
     70 > sh ./bootstrap
     71= Compiling in Emacs =
     72
     73
     74You can use [http://www.gnu.org/software/emacs/windows/faq2.html Emacs on Windows] to compile RTEMS or your application and use it to track the error messages. To compile enter 'M-x compile' then type
     75
     76 c:/rtems/m68k/sh-run.bat make -C c:/rtems/src/rtems-4.6.99.3
    6577= Trouble Shooting =
    6678