mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 14:18:20 +00:00
are a dummy for linking programs together when you are primarily concerned with tricking another package into building. This may grow into something which could help link programs on the command line by having a default start sequence.
24 lines
630 B
Plaintext
24 lines
630 B
Plaintext
dummy.rel
|
|
=========
|
|
|
|
A relocatible objects which contains a dummy configuration for RTEMS.
|
|
|
|
Helps linking standard c-program code with RTEMS, which shall *not* be run
|
|
on a target, such as configure script code fragments generated by autoconf's
|
|
AC_TRY_LINK.
|
|
|
|
Example:
|
|
|
|
tar xzvf somepkg.tar.gz
|
|
cd somepkg
|
|
|
|
LDFLAGS=/usr/local/rtems/<cpu>-rtems/<bsp>/lib/dummy.rel \
|
|
CC="<cpu>-rtems-gcc \
|
|
-B/usr/local/rtems/<cpu>-rtems/<bsp>/lib/ -specs bsp_specs -qrtems" \
|
|
CC_FOR_BUILD="gcc" \
|
|
configure --host=<cpu>-rtems --build=i686-pc-linux-gnu
|
|
make
|
|
|
|
History:
|
|
Starting dummy.c with a copy of rtems-19990528/c/src/tests/samples/minimum/init.c
|