4.104.114.84.95
Last change
on this file since 6a27e08 was
6a27e08,
checked in by Charles Phillips <Charles.Phillips@…>, on 10/25/99 at 17:42:49
|
Modified url references to be dynamic links.
|
-
Property mode set to
100644
|
File size:
1.4 KB
|
Line | |
---|
1 | @c |
---|
2 | @c COPYRIGHT (c) 1988-1998. |
---|
3 | @c On-Line Applications Research Corporation (OAR). |
---|
4 | @c All rights reserved. |
---|
5 | @c |
---|
6 | @c $Id$ |
---|
7 | @c |
---|
8 | |
---|
9 | @chapter General Development Tool Hints |
---|
10 | |
---|
11 | The questions in this category are related to the GNU development tools |
---|
12 | in a non-language specific way. |
---|
13 | |
---|
14 | @section What is GNU? |
---|
15 | |
---|
16 | Take a look at @uref{http://www.gnu.org} for information on the GNU Project. |
---|
17 | |
---|
18 | @section How do I generate a patch? |
---|
19 | |
---|
20 | The RTEMS patches to the development tools are generated using a |
---|
21 | command like this |
---|
22 | |
---|
23 | @example |
---|
24 | diff -N -P -r -c TOOL-original-image TOOL-with-changes >PATCHFILE |
---|
25 | @end example |
---|
26 | |
---|
27 | where the options are: |
---|
28 | |
---|
29 | @itemize @bullet |
---|
30 | |
---|
31 | @item -N and -P take care of adding and removing files (be careful not to |
---|
32 | include junk files like file.mybackup) |
---|
33 | |
---|
34 | @item -r tells diff to recurse through subdirectories |
---|
35 | |
---|
36 | @item -c is a context diff (easy to read for humans) |
---|
37 | |
---|
38 | @end itemize |
---|
39 | |
---|
40 | Please look at the generated PATCHFILE and make sure it does not |
---|
41 | contain anything you did not intend to send to the maintainers. |
---|
42 | It is easy to accidentally leave a backup file in the modified |
---|
43 | source tree or have a spurious change that should not be |
---|
44 | in the PATCHFILE. |
---|
45 | |
---|
46 | If you end up with the entire contents of a file in the patch |
---|
47 | and can't figure out why, you may have different CR/LF scheme |
---|
48 | in the two source files. The GNU open-source packages usually have |
---|
49 | UNIX style CR/LF. If you edit on a Windows platform, the line |
---|
50 | terminators may have been transformed by the editor into Windows |
---|
51 | style. |
---|
Note: See
TracBrowser
for help on using the repository browser.