SCIENTIFIC-LINUX-USERS Archives

September 2007

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Tru Huynh <[log in to unmask]>
Reply To:
Tru Huynh <[log in to unmask]>
Date:
Wed, 5 Sep 2007 23:43:17 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (41 lines)
On Wed, Sep 05, 2007 at 04:18:35PM -0500, Glenn Horton-Smith wrote:
...
> 
> The rpm is  gcc4-c++-4.1.1-53.EL4. 

it's in the upstream spec file by design:
...
CC="$CC" CFLAGS="$OPT_FLAGS" CXXFLAGS="$OPT_FLAGS" XCFLAGS="$OPT_FLAGS" TCFLAGS="$OPT_FLAGS" \
        GCJFLAGS="$OPT_FLAGS" \
        ../configure --prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \
        --enable-shared --enable-threads=posix --enable-checking=release \
        --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions \
        --with-gxx-include-dir=/usr/include/c++/%{gxx_primary_version} \
        --enable-libgcj-multifile \
%if !%{build_java}
        --enable-languages=c,c++,f95 \
        --disable-libgcj \
%else
        --enable-languages=c,c++,java,f95 \
        --enable-java-awt=gtk --disable-dssi \
        --with-java-home=%{_prefix}/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre \
%endif
%ifarch sparc
        --host=%{gcc_target_platform} --build=%{gcc_target_platform} --target=%{gcc_target_platform} --with-cpu=v7
%endif
%ifarch ppc
        --host=%{gcc_target_platform} --build=%{gcc_target_platform} --target=%{gcc_target_platform} --with-cpu=default32
%endif
%ifarch %{ix86} x86_64
        --with-cpu=generic \
%endif
%ifnarch sparc ppc
        --host=%{gcc_target_platform}
%endif
...

-- 
Dr Tru Huynh          | http://www.pasteur.fr/recherche/unites/Binfs/
mailto:[log in to unmask] | tel/fax +33 1 45 68 87 37/19
Institut Pasteur, 25-28 rue du Docteur Roux, 75724 Paris CEDEX 15 France  

ATOM RSS1 RSS2