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

Dan Kegel dank@kegel.com
Sat Mar 4 03:20:00 GMT 2006


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

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



More information about the crossgcc mailing list