This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fix-finincl.patch for gcc 3.3.3 / gcc 3.3.2 / gcc3.3.6


Dan,

Thanks for the help.  The patch for 3.3.2 is below.  The
gcc/Makefile.in file is a little different than gcc-3.3.3.  It worked
for my building gcc-3.3.2-glibc-2.3.2/powerpc-860-linux-gnu.  

It is probably a VERY GOOD idea that others check it.  I did not
include your explanation for the patch but I am sure you can copy and
paste that.

regards,

Philip



--- Dan Kegel <dank@kegel.com> wrote:

> On 3/3/06, Philip Rakity <prakity@yahoo.com> wrote:
> > The patch in patches/gcc-3.3.6 to fix the headers to allow the test
> > programs to work references gcc 3.4.3.  Does anyone have a patch
> for
> > the gcc 3.3.x series ?   (copy and paste error ?)
> >
> > This is stopping the ppc860 build for
> > powerpc-860.dat gcc-3.3.3-glibc-2.3.2.dat and
> > powerpc-860.dat gcc-3.4.0-glibc-2.3.2.dat
> 
> You need to lose your fear of patches :-)  If you need a refresher,
> see
> http://kegel.com/academy/opensource.html#patches
> 
> To apply the patch manually, I did:
> $ cd gcc-3.3.3
> $ patch -p1 < ~/crosstool-0.42/patches/gcc-3.3.6/fix-fixincl.patch
> patching file gcc/Makefile.in
> Hunk #1 succeeded at 265 (offset -85 lines).
> Hunk #2 succeeded at 2377 with fuzz 1 (offset -158 lines).
> 
> That's not too bad, but crosstool is very careful, and refuses to
> apply anything
> that needs fuzz.  So let's manually rediff it:
> 
> $ diff -u gcc-3.3.3{.old,}/gcc/Makefile.in >
> gcc-3.3.3-fix-fixincl.patch
> 
> I've uploaded that to
> http://kegel.com/crosstool/gcc-3.3.3-fix-fixincl.patch
> Does that help?
> - Dan
> 
> --
> Wine for Windows ISVs: http://kegel.com/wine/isv
> 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Attachment: fix-fixincl.patch
Description: 3210013313-fix-fixincl.patch

--
For unsubscribe information see http://sourceware.org/lists.html#faq

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