ICU-2542 new target, "SOLARISCC/W4.2" for workshop 4.2 workaround

X-SVN-Rev: 10515
This commit is contained in:
Steven R. Loomis 2002-12-05 23:49:15 +00:00
parent 7ac8439313
commit 9b3a373026

View File

@ -40,6 +40,7 @@ The following names can be supplied as the argument for platform:
CygWin Use the GNU C++ compiler on CygWin
MacOSX Use the GNU C++ compiler on MacOS X (Darwin)
SOLARISCC Use Sun's CC compiler on Solaris
SOLARISCC/W4.2 Use Sun's Workshop 4.2 CC compiler on Solaris
SOLARISGCC Use the GNU C++ compiler on Solaris
SOLARISX86 Use Sun's CC compiler on Solaris x86
TRU64V5.1/CXX Use Compaq's cxx compiler on Tru64 (OSF)
@ -172,6 +173,14 @@ case $platform in
RELEASE_CFLAGS=-xO4
RELEASE_CXXFLAGS=-O4
;;
SOLARISCC/W4.2)
THE_OS=SOLARIS
THE_COMP="Sun's CC"
CC=`which cc`; export CC
CXX=`which CC`; export CXX
RELEASE_CFLAGS=-x04
RELEASE_CXXFLAGS="-O4 +d"
;;
SOLARISGCC)
THE_OS=SOLARIS
THE_COMP="the GNU C++"