Commit fc99a964 authored by Lynn Garren's avatar Lynn Garren
Browse files

use "-O" instead of "-O -mt" when compiling with Solaris CC

parent 8b79f4df
......@@ -8,7 +8,7 @@ includedir=@includedir@
usage()
{
cat >2 <<EOF
cat <<EOF
Usage: Cast-config [OPTION]
Known values for OPTION are:
......
......@@ -129,7 +129,7 @@ case "$target" in
esac;;
*-*-solaris*)
case "$CXX" in
CC) CXXFLAGS="-O -mt";COPY_P="cp -p";DIFF_Q="diff -b";;
CC) CXXFLAGS="-O";COPY_P="cp -p";DIFF_Q="diff -b";;
g++) CXXFLAGS="-O -ansi -pedantic -Wall";COPY_P="cp -p";DIFF_Q="diff -b";;
c++) CXXFLAGS="-O -ansi -pedantic -Wall";COPY_P="cp -p";DIFF_Q="diff -b";;
*) echo UNEXPECTED CHOICE OF C++ COMPILER: $CXX
......
Tue Aug 31 2004 Lynn Garren <garren@fnal.gov>
* change Solaris CC compile flags from "-O -mt" to "-O"
* libtools 1.9b or later is required for Solaris CC
==============================
23.07.04 Release CLHEP-2.0.1.0
......
......@@ -129,7 +129,7 @@ case "$target" in
esac;;
*-*-solaris*)
case "$CXX" in
CC) CXXFLAGS="-O -mt";COPY_P="cp -p";DIFF_Q="diff -b";;
CC) CXXFLAGS="-O";COPY_P="cp -p";DIFF_Q="diff -b";;
g++) CXXFLAGS="-O -ansi -pedantic -Wall";COPY_P="cp -p";DIFF_Q="diff -b";;
c++) CXXFLAGS="-O -ansi -pedantic -Wall";COPY_P="cp -p";DIFF_Q="diff -b";;
*) echo UNEXPECTED CHOICE OF C++ COMPILER: $CXX
......
......@@ -8,7 +8,7 @@ includedir=@includedir@
usage()
{
cat >2 <<EOF
cat <<EOF
Usage: Exceptions-config [OPTION]
Known values for OPTION are:
......
......@@ -139,7 +139,7 @@ case "$target" in
esac;;
*-*-solaris*)
case "$CXX" in
CC) CXXFLAGS="-O -mt";COPY_P="cp -p";DIFF_Q="diff -b";;
CC) CXXFLAGS="-O";COPY_P="cp -p";DIFF_Q="diff -b";;
g++) CXXFLAGS="-O -ansi -pedantic -Wall";COPY_P="cp -p";DIFF_Q="diff -b";;
c++) CXXFLAGS="-O -ansi -pedantic -Wall";COPY_P="cp -p";DIFF_Q="diff -b";;
*) echo UNEXPECTED CHOICE OF C++ COMPILER: $CXX
......
......@@ -129,7 +129,7 @@ case "$target" in
esac;;
*-*-solaris*)
case "$CXX" in
CC) CXXFLAGS="-O -mt";COPY_P="cp -p";DIFF_Q="diff -b";;
CC) CXXFLAGS="-O";COPY_P="cp -p";DIFF_Q="diff -b";;
g++) CXXFLAGS="-O -ansi -pedantic -Wall";COPY_P="cp -p";DIFF_Q="diff -b";;
c++) CXXFLAGS="-O -ansi -pedantic -Wall";COPY_P="cp -p";DIFF_Q="diff -b";;
*) echo UNEXPECTED CHOICE OF C++ COMPILER: $CXX
......
......@@ -129,7 +129,7 @@ case "$target" in
esac;;
*-*-solaris*)
case "$CXX" in
CC) CXXFLAGS="-O -mt";COPY_P="cp -p";DIFF_Q="diff -b";;
CC) CXXFLAGS="-O";COPY_P="cp -p";DIFF_Q="diff -b";;
g++) CXXFLAGS="-O -ansi -pedantic -Wall";COPY_P="cp -p";DIFF_Q="diff -b";;
c++) CXXFLAGS="-O -ansi -pedantic -Wall";COPY_P="cp -p";DIFF_Q="diff -b";;
*) echo UNEXPECTED CHOICE OF C++ COMPILER: $CXX
......
......@@ -141,7 +141,7 @@ case "$target" in
esac;;
*-*-solaris*)
case "$CXX" in
CC) CXXFLAGS="-O -mt";COPY_P="cp -p";DIFF_Q="diff -b";;
CC) CXXFLAGS="-O";COPY_P="cp -p";DIFF_Q="diff -b";;
g++) CXXFLAGS="-O -ansi -pedantic -Wall";COPY_P="cp -p";DIFF_Q="diff -b";;
c++) CXXFLAGS="-O -ansi -pedantic -Wall";COPY_P="cp -p";DIFF_Q="diff -b";;
*) echo UNEXPECTED CHOICE OF C++ COMPILER: $CXX
......
......@@ -150,7 +150,7 @@ case "$target" in
esac;;
*-*-solaris*)
case "$CXX" in
CC) CXXFLAGS="-O -mt";COPY_P="cp -p";DIFF_Q="diff -b";;
CC) CXXFLAGS="-O";COPY_P="cp -p";DIFF_Q="diff -b";;
g++) CXXFLAGS="-O -ansi -pedantic -Wall";COPY_P="cp -p";DIFF_Q="diff -b";;
c++) CXXFLAGS="-O -ansi -pedantic -Wall";COPY_P="cp -p";DIFF_Q="diff -b";;
*) echo UNEXPECTED CHOICE OF C++ COMPILER: $CXX
......
......@@ -129,7 +129,7 @@ case "$target" in
esac;;
*-*-solaris*)
case "$CXX" in
CC) CXXFLAGS="-O -mt";COPY_P="cp -p";DIFF_Q="diff -b";;
CC) CXXFLAGS="-O";COPY_P="cp -p";DIFF_Q="diff -b";;
g++) CXXFLAGS="-O -ansi -pedantic -Wall";COPY_P="cp -p";DIFF_Q="diff -b";;
c++) CXXFLAGS="-O -ansi -pedantic -Wall";COPY_P="cp -p";DIFF_Q="diff -b";;
*) echo UNEXPECTED CHOICE OF C++ COMPILER: $CXX
......
......@@ -136,7 +136,7 @@ case "$target" in
esac;;
*-*-solaris*)
case "$CXX" in
CC) CXXFLAGS="-O -mt";COPY_P="cp -p";DIFF_Q="diff -b";;
CC) CXXFLAGS="-O";COPY_P="cp -p";DIFF_Q="diff -b";;
g++) CXXFLAGS="-O -ansi -pedantic -Wall";COPY_P="cp -p";DIFF_Q="diff -b";;
c++) CXXFLAGS="-O -ansi -pedantic -Wall";COPY_P="cp -p";DIFF_Q="diff -b";;
*) echo UNEXPECTED CHOICE OF C++ COMPILER: $CXX
......
......@@ -128,7 +128,7 @@ case "$target" in
esac;;
*-*-solaris*)
case "$CXX" in
CC) CXXFLAGS="-O -mt";COPY_P="cp -p";DIFF_Q="diff -b";;
CC) CXXFLAGS="-O";COPY_P="cp -p";DIFF_Q="diff -b";;
g++) CXXFLAGS="-O -ansi -pedantic -Wall";COPY_P="cp -p";DIFF_Q="diff -b";;
c++) CXXFLAGS="-O -ansi -pedantic -Wall";COPY_P="cp -p";DIFF_Q="diff -b";;
*) echo UNEXPECTED CHOICE OF C++ COMPILER: $CXX
......
......@@ -19,6 +19,34 @@ make install
(Copy libraries, headers, executables, etc. to relevant
subdirectories under <install_dir>.)
#-------------------------------------------------------------
# configure options
#-------------------------------------------------------------
A variety of options can be given to configure. Below is a list
of the options that you are likely to find most useful.
--help provides a partial list of options
--prefix=PREFIX install architecture-independent files in PREFIX
[default is /usr/local]
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[default is the same as PREFIX]
--disable-shared build only static libraries
--disable-static build only shared libraries
--enable-exceptions use the CLHEP/Exceptions package
--disable-exceptions DO NOT use the CLHEP/Exceptions package
[--disable-exceptions is the default]
#-------------------------------------------------------------
# building documents
#-------------------------------------------------------------
Documents are neither built nor installed automatically.
Use the following commands to build and install documents:
make docs
make install-docs
#-------------------------------------------------------------
# building from cvs
#-------------------------------------------------------------
......@@ -29,7 +57,7 @@ See building autotools below.
cvs co CLHEP/package OR cvs co package
cd [CLHEP/]package
bootstrap
./bootstrap
Now continue with directions as if you unpacked a source code tarball.
......
......@@ -8,7 +8,7 @@ includedir=@includedir@
usage()
{
cat >2 <<EOF
cat <<EOF
Usage: RefCount-config [OPTION]
Known values for OPTION are:
......
......@@ -126,7 +126,7 @@ case "$target" in
esac;;
*-*-solaris*)
case "$CXX" in
CC) CXXFLAGS="-O -mt";COPY_P="cp -p";DIFF_Q="diff -b";;
CC) CXXFLAGS="-O";COPY_P="cp -p";DIFF_Q="diff -b";;
g++) CXXFLAGS="-O -ansi -pedantic -Wall";COPY_P="cp -p";DIFF_Q="diff -b";;
c++) CXXFLAGS="-O -ansi -pedantic -Wall";COPY_P="cp -p";DIFF_Q="diff -b";;
*) echo UNEXPECTED CHOICE OF C++ COMPILER: $CXX
......
......@@ -136,7 +136,7 @@ case "$target" in
esac;;
*-*-solaris*)
case "$CXX" in
CC) CXXFLAGS="-O -mt";COPY_P="cp -p";DIFF_Q="diff -b";;
CC) CXXFLAGS="-O";COPY_P="cp -p";DIFF_Q="diff -b";;
g++) CXXFLAGS="-O -ansi -pedantic -Wall";COPY_P="cp -p";DIFF_Q="diff -b";;
c++) CXXFLAGS="-O -ansi -pedantic -Wall";COPY_P="cp -p";DIFF_Q="diff -b";;
*) echo UNEXPECTED CHOICE OF C++ COMPILER: $CXX
......
......@@ -127,7 +127,7 @@ case "$target" in
esac;;
*-*-solaris*)
case "$CXX" in
CC) CXXFLAGS="-O -mt";COPY_P="cp -p";DIFF_Q="diff -b";;
CC) CXXFLAGS="-O";COPY_P="cp -p";DIFF_Q="diff -b";;
g++) CXXFLAGS="-O -ansi -pedantic -Wall";COPY_P="cp -p";DIFF_Q="diff -b";;
c++) CXXFLAGS="-O -ansi -pedantic -Wall";COPY_P="cp -p";DIFF_Q="diff -b";;
*) echo UNEXPECTED CHOICE OF C++ COMPILER: $CXX
......
......@@ -134,7 +134,7 @@ case "$target" in
esac;;
*-*-solaris*)
case "$CXX" in
CC) CXXFLAGS="-O -mt";COPY_P="cp -p";DIFF_Q="diff -b";;
CC) CXXFLAGS="-O";COPY_P="cp -p";DIFF_Q="diff -b";;
g++) CXXFLAGS="-O -ansi -pedantic -Wall";COPY_P="cp -p";DIFF_Q="diff -b";;
c++) CXXFLAGS="-O -ansi -pedantic -Wall";COPY_P="cp -p";DIFF_Q="diff -b";;
*) echo UNEXPECTED CHOICE OF C++ COMPILER: $CXX
......
......@@ -86,7 +86,7 @@ case "$target" in
esac;;
*-*-solaris*)
case "$CXX" in
CC) CXXFLAGS="-O -mt";COPY_P="cp -p";DIFF_Q="diff -b";;
CC) CXXFLAGS="-O";COPY_P="cp -p";DIFF_Q="diff -b";;
g++) CXXFLAGS="-O -ansi -pedantic -Wall";COPY_P="cp -p";DIFF_Q="diff -b";;
c++) CXXFLAGS="-O -ansi -pedantic -Wall";COPY_P="cp -p";DIFF_Q="diff -b";;
*) echo UNEXPECTED CHOICE OF C++ COMPILER: $CXX
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment