|
|
Rockbox mail archiveSubject: Re: Questions on developmentFrom: Daniel Stenberg (daniel_at_haxx.se) Date: 2003-01-24
On Fri, 24 Jan 2003, Martyn Weber wrote:
> Still having trouble applying patches as diffs, anyone got a short tutorial
1. Use the tools 'diff' and 'patch'. Preferably the GNU versions.
2. We generate diffs (often called patches) usinth 'diff' in a manner
diff -u oldfile newfile > patch
People who have checked out code with cvs can do diffs using cvs like
cvs diff -u file > patch
diff can also be used on a whole directory etc to generate one file with
diff -u olddir newdir > patch
3. Applying a 'patch' (output from diff -u) is done with the 'patch' tool:
patch < patchfile
If there is path information in the patchfile that you want to cut off
patch -p0 < patchfile (remove no path part)
> Second question is about how the debugging version works. Do I need to mod
The debug version is for running with gdb on a hardware-modified target, yes.
> I'm not interested in using the debugger with it, just seeing debugging
We've developed the simulator(s) for that purpose as well, and speaking from
-- Daniel Stenberg -- http://rockbox.haxx.se/ -- http://daniel.haxx.se/
Page was last modified "Jan 10 2012" The Rockbox Crew |