* patches for c4x
@ 2002-01-02 6:13 Danish Samad
2002-01-02 7:17 ` Nick Clifton
0 siblings, 1 reply; 2+ messages in thread
From: Danish Samad @ 2002-01-02 6:13 UTC (permalink / raw)
To: binutils
hello,
Iam facing problems applying c4x patches to binutils.
I have downloaded binutils-2.11.2.tar.gz and
binutils-2_11_1-c4x-20010623.patch.
when I give the command
"patch binutils-2.11.2.tar.gz
binutils-2_11_1-c4x-20010623.patch"
it generates some files and asks for a file to patch
what file do I have to enter here.
infact is this how you add a patch? this is my first
attempt so please help me out
regards,
danish
__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: patches for c4x
2002-01-02 6:13 patches for c4x Danish Samad
@ 2002-01-02 7:17 ` Nick Clifton
0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2002-01-02 7:17 UTC (permalink / raw)
To: Danish Samad; +Cc: binutils
Hi Danish,
> Iam facing problems applying c4x patches to binutils. I have
> downloaded binutils-2.11.2.tar.gz and
> binutils-2_11_1-c4x-20010623.patch. When I give the command
> "patch binutils-2.11.2.tar.gz
> binutils-2_11_1-c4x-20010623.patch"
> it generates some files and asks for a file to patch.
> what file do I have to enter here. infact is this how you add a
> patch? this is my first attempt so please help me out
Did you uncompress and de-tar the binutils archive ? Patch does not
work on compressed archives...
The filename to enter is the name of the file that the patch should be
applied to. Since there are multiple files that need to be patched by
the binutils_2_11_1-c4x-20010623.patch you will have answer this
question lots of times.
To avoid all of this, try the following procedure:
1. Create a source directory. (eg 'mkdir src')
2. Go into this source directory. (eg 'cd src')
3. Uncompress the sources. (eg 'tar xvfz binutils-2.11.2.tar.gz')
4. Load the patch file into ypur favorite editor and split it up
into multiple files. Put all the patches to files in the "bfd"
directory into one file, all the patches to files in the "ld"
directory in another file, and so on.
5. For each of the new patch files that you have created go to the
appropriate source directory and run the patch program there.
(eg 'cd bfd; patch -i c4x.patch.bfd')
Now proceed with step 3 on the c4x binutils web site.
Cheers
Nick
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-01-02 15:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-02 6:13 patches for c4x Danish Samad
2002-01-02 7:17 ` Nick Clifton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).