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: how to use snapshots?


yeah,i have patch2.5 on my linux machine(it is inside a firewall which only 
support
proxy)
but when i use patch -i ../gcc-core-20001127-20001204.diff
error occured.message is :

Hunk #1 FAILED at 1.
Hunk #2 FAILED at 730.
Hunk #3 FAILED at 1385.
3 out of 3 hunks FAILED -- saving rejects to ChangeLog.rej
patch: **** `INSTALL' is not a regular file -- can't patch



>From: "Kelley Cook" <Kelley.Cook@home.com>
>Reply-To: "Kelley Cook" <Kelley.Cook@home.com>
>To: "Dave Raggett" <dave_raggett@hotmail.com>
>Subject: Re: how to use snapshots?
>Date: Tue, 05 Dec 2000 12:40:19 -0500
>
> >if i want to upgrade the source snapshots that i had download,
> >(e.g. from gcc-core-20001127.tar.gz to gcc-core-20001204.tar.gz)
> >should I download the big package again?
> >if there is a better way?what it is?
>
>
>Yes, there are two better ways:
>
>a)
>
>Download gcc-core-20001127-20001204.diff.gz
>
>gzip -d it and copy the resulting gcc-core-20001127-20001204.diff to
>one directory above where gcc-20001127 is located.  cd to your source
>directory
>
>patch -i ../gcc-core-20001127-20001204.diff
>
>If you don't have patch, you can download version 2.5.4 from
>ftp://ftp.freesoftware.com/pub/gnu/patch
>
>b) better method, but doesn't work through proxy servers
>
>Build a CVS repository by following the directions at
>http://gcc.gnu.org/cvs.html
>
>Essentially, you create an empty directory to hold the sources, cd to
>it and type "cvs -d :pserver:anoncvs@gcc.gnu.org:/cvs/gcc login && cvs
>-z 9 -d :pserver:anoncvs@gcc.gnu.org:/cvs/gcc co gcc".  The password is
>"anoncvs".  This takes a while the first time since you need to
>download the entire gcc sources.  Then whenever you wish to update to
>the latest up-to-the-minute copy, you just cd to your new repository
>directory and type "cvs update -Pd".
>
>The nifty part about CVS is that if you make any changes to your
>sources, the CVS update command will try to merge them into any changes
>anyone else makes to the same file, so you won't lose your
>modifications each time.
>
>--
>Kelley Cook
>

_____________________________________________________________________________________
Get more from the Web.  FREE MSN Explorer download : http://explorer.msn.com


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