summaryrefslogtreecommitdiffstats
path: root/c/src/libmisc/dummy/README
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-27 19:35:36 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-27 19:35:36 +0000
commitb07e06a1bc6906638f5370ae033ef3a87e93ddd3 (patch)
treed89d9121160cac07d026dd729ef0591300228ec7 /c/src/libmisc/dummy/README
parent3abbfdb40f42ca1945cc7cf986c8516d8f456448 (diff)
downloadrtems-b07e06a1bc6906638f5370ae033ef3a87e93ddd3.tar.bz2
New files from Ralf Corsepius <corsepiu@faw.uni-ulm.de> which
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.
Diffstat (limited to 'c/src/libmisc/dummy/README')
-rw-r--r--c/src/libmisc/dummy/README23
1 files changed, 23 insertions, 0 deletions
diff --git a/c/src/libmisc/dummy/README b/c/src/libmisc/dummy/README
new file mode 100644
index 0000000000..03bb30834d
--- /dev/null
+++ b/c/src/libmisc/dummy/README
@@ -0,0 +1,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