This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
User guide documentation patch
- From: John Dallaway <jld at ecoscentric dot com>
- To: ecos-patches at sources dot redhat dot com
- Date: Mon, 3 Mar 2003 08:28:47 +0000
- Subject: User guide documentation patch
- Organization: eCosCentric Limited
Use the correct makefile variable when building the instrument-test example.
John Dallaway
eCosCentric Limited
--cut here--
Index: ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/doc/sgml/user-guide/ChangeLog,v
retrieving revision 1.4
diff -u -5 -r1.4 ChangeLog
--- ChangeLog 12 Feb 2003 18:36:12 -0000 1.4
+++ ChangeLog 3 Mar 2003 08:24:54 -0000
@@ -1,5 +1,10 @@
+2003-03-03 John Dallaway <jld at ecoscentric dot com>
+
+ * programming-concepts-techniques.sgml:
+ PKG_INSTALL_DIR -> INSTALL_DIR
+
2003-02-12 Nick Garnett <nickg at calivar dot com>
* user-guide.sgml:
* config-tool.sgml:
* configuration.sgml:
@@ -8,11 +13,11 @@
to give a single document from which to start with eCos.
* introduction.sgml:
* installation.sgml:
* programming.sgml:
- * programming-concepts-techniques.sgml:
+ * programming-concepts-techniques.sgml:
* target-setup.sgml:
* real-time-characterization.sgml:
New files containing both fresh text and text merged in from the
old tutorial, which is now obsolete.
Index: programming-concepts-techniques.sgml
===================================================================
RCS file: /cvs/ecos/ecos/doc/sgml/user-guide/programming-concepts-techniques.sgml,v
retrieving revision 1.3
diff -u -5 -r1.3 programming-concepts-techniques.sgml
--- programming-concepts-techniques.sgml 12 Feb 2003 18:36:13 -0000 1.3
+++ programming-concepts-techniques.sgml 3 Mar 2003 08:25:09 -0000
@@ -898,11 +898,11 @@
}</PROGRAMLISTING>
</EXAMPLE>
<PARA>Here is how you could compile and run this program in the <filename>examples</filename> directory,
using (for example) the MN10300 simulator target: </PARA>
<SCREEN>
-$ make XCC=mn10300-elf-gcc PKG_INSTALL_DIR=/tmp/ecos-work-mn10300/install instrument-test
+$ make XCC=mn10300-elf-gcc INSTALL_DIR=/tmp/ecos-work-mn10300/install instrument-test
mn10300-elf-gcc -c -o instrument-test.o -g -Wall -I/tmp/ecos-work-mn10300/install/include \
-ffunction-sections -fdata-sections instrument-test.c
mn10300-elf-gcc -nostartfiles -L/tmp/ecos-work-mn10300/install/lib -W1,--gc-sections -o \
instrument-test instrument-test.o -Ttarget.ld -nostdlib
$ mn10300-elf-run --board=stdeval1 instrument-test