OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [doc/] [FAQ/] [tools.t] - Blame information for rev 1771

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
@c
2
@c  COPYRIGHT (c) 1988-2002.
3
@c  On-Line Applications Research Corporation (OAR).
4
@c  All rights reserved.
5
@c
6
@c  tools.t,v 1.6 2002/01/17 21:47:44 joel Exp
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.

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.