Changes between Version 26 and Version 27 of TBR/UserManual/Quick_Start


Ignore:
Timestamp:
Feb 10, 2016, 4:52:40 PM (4 years ago)
Author:
Gedare Bloom
Comment:

tweak configure example

Legend:

Unmodified
Added
Removed
Modified
  • TBR/UserManual/Quick_Start

    v26 v27  
    1616 * 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:
    1717
    18 Note, the following is for RTEMS 4.11.
     18Note, the following is for RTEMS 4.11, and assumes you have a valid sparc-rtems4.11-toolchain in your PATH.
    1919
    2020{{{
    2121cd rtems
    22 export PATH=/opt/rtems/4.11/bin:$PATH
    23 ./bootstrap
     22./bootstrap # or ../rtems-source-builder/source-builder/sb-bootstrap
    2423cd ..
    2524mkdir b-sis
    2625cd b-sis
    2726../rtems/configure --target=sparc-rtems4.11 --enable-rtemsbsp=sis \
    28   --enable-tests=samples --disable-posix
     27  --enable-tests=samples --prefix=${HOME}/install_path
    2928make
    30 sudo PATH=/opt/rtems/4.11/bin:${PATH} make install
     29make install
    3130}}}
    32 
    33 If you experience a "''C compiler cannot create executables''" error, try fixing your compiler by getting libc-dev:
    34 {{{apt-get install libc-dev}}}
    35 This has happened on Debian and Debian-based (like Ubuntu) systems.
    3631
    3732WARNING: 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.