Purpose: Maintenance
Description: I added new configuration file ia64-linux-gnu to the
c++/config directory and made ecc a default C++ compiler
for ia64-linux-gnu systems
Solution: N/A
Platforms tested: Altix (SGI Linux64 IA64 machine) - all tests passed
titan - configuration passed; it is still building
Misc. update:
30 lines
518 B
Plaintext
Executable File
30 lines
518 B
Plaintext
Executable File
|
|
if test -z "$CXX"; then
|
|
CXX=ecc
|
|
CXX_BASENAME=ecc
|
|
fi
|
|
|
|
|
|
case $CXX_BASENAME in
|
|
g++)
|
|
CXXFLAGS="$CXXFLAGS -Wsign-compare" #Only works for some versions
|
|
DEBUG_CXXFLAGS="-g -fverbose-asm"
|
|
DEBUG_CPPFLAGS=
|
|
PROD_CXXFLAGS="-O3 -fomit-frame-pointer"
|
|
PROD_CPPFLAGS=
|
|
PROFILE_CXXFLAGS="-pg"
|
|
PROFILE_CPPFLAGS=
|
|
;;
|
|
|
|
*)
|
|
CXXFLAGS="$CXXFLAGS -tlocal"
|
|
DEBUG_CXXFLAGS="-g"
|
|
DEBUG_CPPFLAGS=
|
|
PROD_CXXFLAGS="" #Default optimization O2 is used
|
|
PROD_CPPFLAGS=
|
|
PROFILE_CXXFLAGS="-pg"
|
|
PROFILE_CPPFLAGS=
|
|
;;
|
|
esac
|
|
|