ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/gcc.spec
Revision: 1.8
Committed: Wed Jul 19 08:35:30 2006 UTC (18 years, 9 months ago) by eulisse
Branch: MAIN
CVS Tags: forPA070pre3-slc3, forPA061, forPA060pre3, forDBS106, forPA050pre3, WEBTOOLS_CONFIG_1_pre1, forPA030, forPA020, PR_0_5_4, PR_0_5_0, PR_0_4_21, PRODREQUEST_0_4_0, PR0_3_13, PR0_3_12, PR0-3-11, forPR034, forPR033, forPR032, forPR030, forPR020, forPA011, forPR010, forPA010, af20060928, for100pre1, for091, for082, for090, CMSSW_0_8_1, for090_RC1, CMSSW_0_9_0_pre3, for090p2, forCMSSW090p2, for090p2_RC5, for090p2_RC4, for090p2_RC3, for090p2_RC2, for090p2_RC1
Changes since 1.7: +1 -1 lines
Log Message:
Reverted for slc3_ia32_gcc323

File Contents

# User Rev Content
1 eulisse 1.8 ### RPM external gcc 3.2.3
2 eulisse 1.3 ## INITENV +PATH LD_LIBRARY_PATH %i/lib/32
3     ## INITENV +PATH LD_LIBRARY_PATH %i/lib64
4 argiro 1.1 ## BUILDIF [ $(uname) != Darwin ]
5 eulisse 1.3 Source: ftp://ftp.fu-berlin.de/unix/gnu/%n/%n-%v/%n-%v.tar.bz2
6 argiro 1.1
7     %build
8     # FIXME: --enable-__cxa_atexit can't be used with gcc 3.2.3 on RH 7.3,
9     # enabling it causes qt's uic to die with segmentation violation half
10     # way down the build of qt (projecsettings.ui or something like that;
11     # not the first or only call to uic). Disabling the flag removes the
12     # issue, so clearly the option does not work correctly on this
13     # platform combination.
14     mkdir -p obj
15     cd obj
16 eulisse 1.3
17     if [ "`echo %v | cut -d. -f 1`" == "3" ]
18     then
19 argiro 1.1 ../configure --prefix=%i --enable-languages=c,c++,f77 \
20     --enable-shared # --enable-__cxa_atexit
21 eulisse 1.3 else
22     ../configure --prefix=%i --enable-languages=c,c++ \
23     --enable-shared # --enable-__cxa_atexit
24     fi
25 eulisse 1.2 make %makeprocesses bootstrap
26 argiro 1.1
27     %install
28     cd obj && make install
29     ln -s gcc %i/bin/cc
30 eulisse 1.5 #
31 eulisse 1.6 #