summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-05-14 15:15:57 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-05-14 15:15:57 +0000
commit2bd93831c5e930b26d2eb6e8b0c76d109b295e78 (patch)
tree2b1d8d8f67c38092267edf0c50d29a856f2c008a /doc
parenta0b94685cd30e1ddae4572156da07b4fd9ee6a1b (diff)
downloadrtems-2bd93831c5e930b26d2eb6e8b0c76d109b295e78.tar.bz2
New file.
Diffstat (limited to 'doc')
-rw-r--r--doc/FAQ/tools.t47
1 files changed, 47 insertions, 0 deletions
diff --git a/doc/FAQ/tools.t b/doc/FAQ/tools.t
new file mode 100644
index 0000000000..a80934a0f1
--- /dev/null
+++ b/doc/FAQ/tools.t
@@ -0,0 +1,47 @@
+@c
+@c COPYRIGHT (c) 1988-1998.
+@c On-Line Applications Research Corporation (OAR).
+@c All rights reserved.
+@c
+@c $Id$
+@c
+
+@chapter General Development Tool Hints
+
+The questions in this category are related to the GNU development tools
+in a non-language specific way.
+
+@section How do I generate a patch?
+
+The RTEMS patches to the development tools are generated using a
+command like this
+
+@example
+diff -N -P -r -c TOOL-original-image TOOL-with-changes >PATCHFILE
+@end example
+
+where the options are:
+
+@itemize @bullet
+
+@item -N and -P take care of adding and removing files (be careful not to
+>include junk files like file.mybackup)
+
+@item -r tells diff to recurse through subdirectories
+
+@item -c is a context diff (easy to read for humans)
+
+@end itemize
+
+Please look at the generated PATCHFILE and make sure it does not
+contain anything you did not intend to send to the maintainers.
+It is easy to accidentally leave a backup file in the modified
+source tree or have a spurious change that should not be
+in the PATCHFILE.
+
+If you end up with the entire contents of a file in the patch
+and can't figure out why, you may have different CR/LF scheme
+in the two source files. The GNU open-source packages usually have
+UNIX style CR/LF. If you edit on a Windows platform, the line
+terminators may have been transformed by the editor into Windows
+style.