diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2003-09-19 18:05:31 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2003-09-19 18:05:31 +0000 |
commit | 7962e86e930e8b20f4c9f0d24e23a2798dfad108 (patch) | |
tree | 4de4b29ae25ca9d12af87e62018afe586f497c4e /doc/FAQ/tools.t | |
parent | 2003-09-19 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-7962e86e930e8b20f4c9f0d24e23a2798dfad108.tar.bz2 |
2003-09-19 Joel Sherrill <joel@OARcorp.com>
* FAQ.texi, basic.t, build45.t, entry, tools.t: Merge from branch.
Diffstat (limited to 'doc/FAQ/tools.t')
-rw-r--r-- | doc/FAQ/tools.t | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/doc/FAQ/tools.t b/doc/FAQ/tools.t index d917f9d461..4af175bcc9 100644 --- a/doc/FAQ/tools.t +++ b/doc/FAQ/tools.t @@ -13,7 +13,7 @@ in a non-language specific way. @section What is GNU? -Take a look at @uref{http://www.gnu.org} for information on the GNU Project. +Take a look at @uref{http://www.gnu.org,http://www.gnu.org} for information on the GNU Project. @section How do I generate a patch? @@ -49,3 +49,23 @@ 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. + +@section How do I apply a patch? + +Patches generated with the @code{diff} program are fed into the +@code{patch} program as follows: + +@example +patch -p1 <PATCHFILE +@end example + +where the options are: + +@itemize @bullet + +@item -pNUM tells @code{patch} to strip off NUM slashes from the +pathname. + +@end itemize + +If @code{patch} prompts for a file to patch, you may need to adjust NUM. |