--- gcc-2.7.2.1.spec.rh42 Tue Nov 26 16:11:16 1996 +++ gcc-2.7.2.1.spec Tue Sep 24 17:44:55 2002 @@ -1,7 +1,7 @@ Summary: GNU C Compiler Name: gcc Version: 2.7.2.1 -Release: 2 +Release: 2m68k2 Copyright: GPL Group: Development/Languages Source: ftp://prep.ai.mit.edu/pub/gnu/gcc-2.7.2.1.tar.gz @@ -15,7 +15,27 @@ Patch4: gcc-2.7.2-pg.patch Patch5: gcc-2.7.2-flow.patch Patch6: ftp://ftp.redhat.com/pub/alphabits/rth-gcc-2.7.2-961121.diff.gz -Requires: binutils +# 2 original gcc patches: +Patch7: gcc-2.7.2.1-2.7.2.2.diff.gz +Patch8: gcc-2.7.2.2-2.7.2.3.diff.gz +# 2 gcc patches derived from original patches for RH: +Patch9: gcc-2.7.2.1-2.7.2.2.rh.unified.diff +Patch10: gcc-2.7.2.2-2.7.2.3.rh.unified.diff +# 2 patches from inofficial RH5.1 m68k Amiga port: +Patch11: gcc-2.7.2.2-060.diff +Patch12: gcc-2.7.2-reg-alloc.patch +# their derivates for this rpm: +Patch13: gcc-2.7.2.2-060.rh.diff +Patch14: gcc-2.7.2-reg-alloc.unified.patch +# some more patches from inofficial RH5.1 m68k Amiga port: +Patch15: gcc-2.7.2.sparc.patch2 +Patch16: gcc-2.7.2.3-glibc2.patch +Patch17: gcc-2.7.2-alpha-ra.patch +Patch18: gcc-2.7.2.2-060man.rh.diff +# gcc 2.7.2.1/2.7.2.2 on m68k needs at least binutils-2.7.0.3: +Requires: binutils >= 2.7.0.3 +# with update patches to 2.7.2.3 we need at least binutils-2.8.1: +#Requires: binutils >= 2.8.1 %description The GNU C compiler -- a full featured ANSI C compiler, with support @@ -56,6 +76,22 @@ %patch4 -p0 %patch5 -p1 %patch6 -p1 + +# for gcc-2.7.2.1 and Linux/m68k you can use binutils >= 2.7.0.3 +# for gcc-2.7.2.3 and Linux/m68k you can use binutils >= 2.8.1 +# for glibc2 you should use gcc >= 2.7.2.3 +# apply the following two patches for update to gcc-2.7.2.3: +#%patch9 -p0 -b --suffix=.2722 +#%patch10 -p1 -b --suffix=.2723 + +%patch13 -p0 -b .060 +%patch14 -p0 -b .reg_alloc + +#%patch15 -p1 -b .sparc2 +#%patch16 -p1 -b .glibc2 +#%patch17 -p0 -b .alpha-ra + +%patch18 -p1 -b .060man for n in gcc-c-skel gcc-c++-skel gcc-objc-skel; do sed "s/ARCH/${RPM_ARCH}/g" < $RPM_SOURCE_DIR/$n | \