applying patch

Alfred Perlstein bright@cygnus.rush.net
Tue Mar 2 23:06:00 GMT 1999


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...

-Alfred


> Thanks
> Raju



More information about the Gcc mailing list