ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/gcc.spec
(Generate patch)

Comparing COMP/CMSDIST/gcc.spec (file contents):
Revision 1.16 by eulisse, Tue May 1 19:33:17 2007 UTC vs.
Revision 1.17 by dlange, Sat May 5 18:12:18 2007 UTC

# Line 1 | Line 1
1 < ### RPM external gcc 3.4.5
1 > ### RPM external gcc 3.4.5-CMS2
2   ## INITENV +PATH LD_LIBRARY_PATH %i/lib/32
3   ## INITENV +PATH LD_LIBRARY_PATH %i/lib64
4   ## BUILDIF case $(uname):$(uname -p) in Linux:i*86 ) true ;; Linux:x86_64 ) true ;;  Linux:ppc64 ) false ;; Darwin:* ) false ;; * ) true ;; esac
5 < Source0: ftp://ftp.fu-berlin.de/unix/gnu/%n/%n-%v/%n-%v.tar.bz2
5 > %define realversion %(echo %v | cut -d- -f1 )
6 > Source0: ftp://ftp.fu-berlin.de/unix/gnu/%n/%n-%realversion/%n-%realversion.tar.bz2
7   %define binutilsv 2.17
8   Source1: http://ftp.gnu.org/gnu/binutils/binutils-%binutilsv.tar.bz2
9   %define cpu %(echo %cmsplatf | cut -d_ -f2)
10   %prep
11 < %setup -T -b 0 -n gcc-%v
11 > %setup -T -b 0 -n gcc-%realversion
12  
13   %if "%cmsos" == "slc4_ia32"
14   cat << \EOF_CONFIG_GCC >> gcc/config.gcc
# Line 56 | Line 57 | buildGCC () {
57      fi
58  
59      languages=c,c++
60 <    if [ "`echo %v | cut -d. -f 1`" == "3" ]
60 >    if [ "`echo %realversion | cut -d. -f 1`" == "3" ]
61      then
62          languages=c,c++,f77
63      fi
# Line 89 | Line 90 | make %makeprocesses
90   make install
91  
92   # build the native platform compiler
93 < cd ../gcc-%v
93 > cd ../gcc-%realversion
94   export PATH=%i/tmp/binutils/bin:$PATH
95   export LD_LIBRARY_PATH=%i/tmp/binutils/lib:$PATH
96   buildGCC

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines