Changes between Version 12 and Version 13 of TBR/UserManual/Quick_Start


Ignore:
Timestamp:
Mar 23, 2012, 9:59:17 PM (8 years ago)
Author:
Gedare
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • TBR/UserManual/Quick_Start

    v12 v13  
    1010 *  If you chose Git, then make sure you installed the RTEMS autoconf and automake RPMs.  Then run bootstrap from the top level of the RTEMS source tree.  It may take a few minutes to complete.
    1111
    12  *  RTEMS is designed to be compiled outside the source tree.  Assuming you used the 4.10 head, you would need to do something like the following to configure and compile RTEMS.  Be sure to watch versions and install points:
     12 *  RTEMS is designed to be compiled outside the source tree.  Assuming you used the 4.11 head, you would need to do something like the following to configure and compile RTEMS.  Be sure to watch versions and install points:
    1313
    1414{{{
    1515cd rtems
    16 export PATH=/opt/rtems-4.10/bin:$PATH
     16export PATH=/opt/rtems-4.11/bin:$PATH
    1717./bootstrap
    1818cd ..
    1919mkdir b-sis
    2020cd b-sis
    21 ../rtems/configure --target=sparc-rtems4.10 --enable-rtemsbsp=sis \
    22   --enable-tests=samples --disable-posix --disable-itron
     21../rtems/configure --target=sparc-rtems4.11 --enable-rtemsbsp=sis \
     22  --enable-tests=samples --disable-posix
    2323make
    2424}}}
    2525
    26 WARNING: It is absolutely critical that the target name provided to the RTEMS configure command be that same as that used to build binutils, gcc, newlib, and gdb.  The binaries provided by the RTEMS Project will use a target name of the form CPU-rtemsVERSION where CPU is sparc in the above example and VERSION is 4.10.
     26WARNING: It is absolutely critical that the target name provided to the RTEMS configure command be that same as that used to build binutils, gcc, newlib, and gdb.  The binaries provided by the RTEMS Project will use a target name of the form CPU-rtemsVERSION where CPU is sparc in the above example and VERSION is 4.11.
    2727
    2828( Getting a "''C compiler cannot create executables''" error ?{{ref|abc}} )
     
    3131
    3232{{{
    33 bash-3.1$ sparc-rtems4.10-gdb `find . -name ticker.exe`
     33bash-3.1$ sparc-rtems4.11-gdb `find . -name ticker.exe`
    3434GNU gdb 6.8
    3535Copyright (C) 2008 Free Software Foundation, Inc.
     
    4444(gdb) load
    4545(gdb) r
    46 Starting program: /home2/work/joel/rtems-4.10-work/build/build-sparc-sis-rtems/sparc-rtems4.10/c/sis/testsuites/samples/ticker/ticker.exe
     46Starting program: /home2/work/joel/rtems-4.11-work/build/build-sparc-sis-rtems/sparc-rtems4.11/c/sis/testsuites/samples/ticker/ticker.exe
    4747
    4848
     
    6969}}}
    7070
    71 If you don't want to debug the application, then use sparc-rtems4.10-run in the above example.
     71If you don't want to debug the application, then use sparc-rtems4.11-run in the above example.
    7272
    7373----