This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: applying patch




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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]