summaryrefslogtreecommitdiffstats
path: root/c/src/libmisc/dummy/README
blob: 03bb30834d98b33bc54e323f7ce54f71df4a4d78 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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