Changes between Version 45 and Version 46 of TBR/UserManual/RTEMSAda


Ignore:
Timestamp:
Aug 30, 2007, 11:42:00 PM (12 years ago)
Author:
JoelSherrill
Comment:

Make sure INSTALL, TARGET, and BSP are "string substituted" mentally by reader -- NOT used as environment variables

Legend:

Unmodified
Added
Removed
Modified
  • TBR/UserManual/RTEMSAda

    v45 v46  
    2323
    2424
    25 These instructions assume the following:
    26 
    27  *  $INSTALL is the prefix for the toolchain installation
    28  *  $TARGET is the target code (tested with TARGET=sparc-rtems4.7)
    29  *  $BSP the RTEMS BSP (tested with BSP=erc32)
     25These instructions assume the following strings in the instructions are replaced with values appropriate for you.  Do NOT use these as environment variables.  Setting an environment variable named INSTALL in particular will cause trouble with GNU build packages.
     26
     27 *  INSTALL is the prefix for the toolchain installation
     28 *  TARGET is the target code (tested with TARGET=sparc-rtems4.7)
     29 *  BSP the RTEMS BSP (tested with BSP=erc32)
    3030
    3131It is critical that you have a recent enough C/Ada native GCC in your $PATH.  It is usually necessary to build a native C/Ada native GCC of EXACTLY the same version as the version you are building cross to target RTEMS.
    3232
    33 Please perform each configure/make/make install in a separate empty build directory. Also set PATH=$INSTALL/bin:$PATH
     33Please perform each configure/make/make install in a separate empty build directory. Also set PATH=INSTALL/bin:$PATH
    3434= Patches =
    3535
     
    5555mkdir b-autoconf
    5656cd b-autoconf
    57 ../autoconf-2.61/configure --prefix=$INSTALL
     57../autoconf-2.61/configure --prefix=INSTALL
    5858make
    5959make install
     
    6363mkdir b-automake
    6464cd b-automake
    65 ../automake-1.19/configure --prefix=$INSTALL
     65../automake-1.19/configure --prefix=INSTALL
    6666make
    6767make install
     
    8181cd b-bin
    8282.../binutils-2.17/configure  --verbose --disable-nls \
    83 --target=$TARGET --prefix=$INSTALL
     83--target=TARGET --prefix=INSTALL
    8484make
    8585make install
     
    117117  --with-gnu-ld --with-newlib  --verbose --with-system-zlib --disable-nls \
    118118  --enable-version-specific-runtime-libs \
    119   --enable-languages=c --target=$TARGET --prefix=$INSTALL
     119  --enable-languages=c --target=TARGET --prefix=INSTALL
    120120make
    121121make install
     
    132132  --with-gnu-ld --with-newlib  --verbose --with-system-zlib --disable-nls \
    133133  --enable-version-specific-runtime-libs \
    134   --enable-languages=c,ada --target=$TARGET --prefix=$INSTALL
     134  --enable-languages=c,ada --target=TARGET --prefix=INSTALL
    135135make
    136136make install
     
    147147  --with-gnu-ld --with-newlib  --verbose --with-system-zlib --disable-nls \
    148148  --enable-version-specific-runtime-libs --enable-libada \
    149   --enable-languages=c,c++,ada --target=$TARGET --prefix=$INSTALL
     149  --enable-languages=c,c++,ada --target=TARGET --prefix=INSTALL
    150150make
    151151make install
     
    163163.../rtems/configure --disable-multilib --disable-cxx --enable-posix \
    164164  --enable-networking \
    165   --target=$TARGET --prefix=$INSTALL --enable-rtemsbsp=$BSP
     165  --target=TARGET --prefix=INSTALL --enable-rtemsbsp=BSP
    166166make
    167167make install
     
    179179.../gdb-6.3/configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --verbose --disable-nls \
    180180  --enable-sim --enable-sim-timebase --enable-sim-hardware \
    181   --target=$TARGET --prefix=$INSTALL
     181  --target=TARGET --prefix=INSTALL
    182182make
    183183make install
     
    193193   Ada.Text''IO.Put''Line ("Hello RTEMS Ada");
    194194end T;
    195 $ powerpc-rtems-gnatmake -f -g t -largs -B$INSTALL/$TARGET/$BSP -specs bsp_specs -qrtems
     195$ powerpc-rtems-gnatmake -f -g t -largs -BINSTALL/TARGET/BSP -specs bsp_specs -qrtems
    196196...
    197197$ INSTALL/powerpc-rtems/psim/tests/runtest ./t