This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: applying patch
- To: Alfred Perlstein <bright at cygnus dot rush dot net>
- Subject: Re: applying patch
- From: Andreas Schwab <schwab at LS5 dot informatik dot uni-dortmund dot de>
- Date: 03 Mar 1999 10:39:02 +0100
- Cc: rajukv at fan dot com, EGCS <egcs at egcs dot cygnus dot com>
- References: <Pine.BSF.3.96.990303020408.7848F-100000@cygnus.rush.net>
Alfred Perlstein <bright@cygnus.rush.net> writes:
|> On Wed, 3 Mar 1999 rajukv@fan.com wrote:
|>
|> > hi,
|> >
|> > How do I apply a patch on a egcs snapshot? for eg i have the previous snapshot distribution egcs-19990221.tar.gz now how do i apply the patch egcs-19990221-19990228.diff.gz on the above snapshot?
|> >
|>
|> assuming they are in the same directory:
|>
|> gzcat < egcs-19990221.tar.gz | tar xvf -
|> cd egcs-19990221
|> gzcat < ../egcs-19990221-19990228.diff.gz | patch -p1 -E
|>
|> should work, consult your various man pages and the egcs web pages if you
|> get stuck.
|>
|> you _should_ see a lot of stuff scroll by with the words
|> "Hunk succeeded" on some lines...
Unless you are using patch 2.1, which is mostly silent by default.
--
Andreas Schwab "And now for something
schwab@issan.cs.uni-dortmund.de completely different"
schwab@gnu.org