Changeset 507


Ignore:
Timestamp:
Aug 26, 2005 2:33:43 PM (14 years ago)
Author:
andreasw
Message:
  • corrected CXXLIBS treatment in configure script
  • use \verb for \tt text that contains --
  • set properties
Location:
branches/dev
Files:
20 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/Algorithm/IpAlgorithmRegOp.cpp

    • Property svn:keywords set to Author Date Id Revision
    r501 r507  
    33// This code is published under the Common Public License.
    44//
    5 // $Id: IpAlgorithmRegOp.cpp 430 2005-08-10 00:19:54Z andreasw $
     5// $Id$
    66//
    77// Authors:  Carl Laird, Andreas Waechter     IBM    2005-08-16
  • branches/dev/Algorithm/IpAlgorithmRegOp.hpp

    • Property svn:keywords set to Author Date Id Revision
    r501 r507  
    33// This code is published under the Common Public License.
    44//
    5 // $Id: IpAlgorithmRegOp.hpp 430 2005-08-10 00:19:54Z andreasw $
     5// $Id$
    66//
    77// Authors:  Carl Laird, Andreas Waechter     IBM    2005-08-16
  • branches/dev/Algorithm/LinearSolvers/IpLinearSolversRegOp.cpp

    • Property svn:keywords set to Author Date Id Revision
    r501 r507  
    33// This code is published under the Common Public License.
    44//
    5 // $Id: IpLinearSolversRegOp.cpp 430 2005-08-10 00:19:54Z andreasw $
     5// $Id$
    66//
    77// Authors:  Carl Laird, Andreas Waechter     IBM    2005-08-16
  • branches/dev/Algorithm/LinearSolvers/IpLinearSolversRegOp.hpp

    • Property svn:keywords set to Author Date Id Revision
    r501 r507  
    33// This code is published under the Common Public License.
    44//
    5 // $Id: IpLinearSolversRegOp.hpp 430 2005-08-10 00:19:54Z andreasw $
     5// $Id$
    66//
    77// Authors:  Carl Laird, Andreas Waechter     IBM    2005-08-16
  • branches/dev/Docs/documentation.tex

    r506 r507  
    394394  You can change the default installation directory (here
    395395  \texttt{\$IPOPTDIR}) to something else (such as \texttt{/usr/local})
    396   by using the \texttt{--prefix} switch for \texttt{configure}.
     396  by using the \verb|--prefix| switch for \texttt{configure}.
    397397%\item Test the installation \\
    398398%  {\tt \$ make test}\\
     
    846846the header files are installed in \texttt{\$IPOPTDIR/include/ipopt}
    847847(or in \texttt{\$PREFIX/include/ipopt} if the switch
    848 \texttt{--prefix=\$PREFIX} was used for {\tt configure}).
     848\verb|--prefix=$PREFIX| was used for {\tt configure}).
    849849
    850850\subsubsection{Coding the Problem Representation}\label{sec.cpp_problem}
     
    16471647\texttt{\$IPOPTDIR/include/ipopt} (or in
    16481648\texttt{\$PREFIX/include/ipopt} if the switch
    1649 \texttt{--prefix=\$PREFIX} was used for {\tt configure}); while
     1649\verb|--prefix=$PREFIX| was used for {\tt configure}); while
    16501650reading this section, it will be helpful to have a look at this file.
    16511651
     
    25662566
    25672567In general, you can see the list of options and variables that can be
    2568 set for the {\tt configure} script by typing {\tt configure --help}.
     2568set for the {\tt configure} script by typing \verb/configure --help/.
    25692569Below a few particular options are discussed:
    25702570
     
    25762576
    25772577  However, you can specify a BLAS library (such as your local ATLAS
    2578   library) explicitly, using the {\tt --with-blas} flag for {\tt
     2578  library) explicitly, using the \verb/--with-blas/ flag for {\tt
    25792579    configure}.  For example,
    25802580
    2581   {\tt ./configure --with=blas="-L \$HOME/lib -latlas"}
     2581  \verb|./configure --with=blas="-L$HOME/lib -latlas"|
    25822582
    25832583  To tell the configure script to compile and use the downloaded BLAS
    25842584  source files even if a BLAS library is found on your system, specify
    2585   {\tt --with-blas=BUILD}.
     2585  \verb|--with-blas=BUILD|.
    25862586
    25872587\item Similarly, if you have a precompiled library containing the
    2588   Harwell Subroutines, you can specify its location with the {\tt
    2589     --with-hsl} flag.
     2588  Harwell Subroutines, you can specify its location with the
     2589  \verb|--with-hsl| flag.
    25902590
    25912591\item If you want to specify that you want to use particular
     
    26492649
    26502650\item It is possible to compile the \Ipopt\ library in a debug
    2651   configuration, by specifying {\tt --enable-debug}.  Then the
     2651  configuration, by specifying \verb|--enable-debug|.  Then the
    26522652  compilers will use the debug flags (unless the compilation flag
    26532653  variables are overwritten in the command line), and additional debug
  • branches/dev/Examples/hs071_c/Makefile.in

    • Property svn:keywords set to Author Date Id Revision
    r462 r507  
    33# This file is distributed under the Common Public License.
    44
    5 # $Id: Makefile.in 433 2005-08-11 16:28:35Z andreasw $
     5# $Id$
    66
    77# Directory to the sources for the (example) problem definition files
  • branches/dev/Examples/hs071_c/hs071_c.c

    • Property svn:keywords set to Author Date Id Revision
    r482 r507  
    33 * This code is published under the Common Public License.
    44 *
    5  * $Id: MyNLP.hpp 419 2005-08-01 18:34:28Z andreasw $
     5 * $Id$
    66 *
    77 * Authors:  Carl Laird, Andreas Waechter     IBM    2005-08-17
  • branches/dev/Examples/hs071_cpp/Makefile.in

    • Property svn:keywords set to Author Date Id Revision
    r447 r507  
    33# This file is distributed under the Common Public License.
    44
    5 # $Id: Makefile.in 433 2005-08-11 16:28:35Z andreasw $
     5# $Id$
    66
    77# Directory to the sources for the (example) problem definition files
  • branches/dev/Examples/hs071_cpp/hs071_main.cpp

    • Property svn:keywords set to Author Date Id Revision
    r501 r507  
    33// This code is published under the Common Public License.
    44//
    5 // $Id: cpp_example.cpp 419 2005-08-01 18:34:28Z andreasw $
     5// $Id$
    66//
    77// Authors:  Carl Laird, Andreas Waechter     IBM    2005-08-10
  • branches/dev/Examples/hs071_cpp/hs071_nlp.cpp

    • Property svn:keywords set to Author Date Id Revision
    r501 r507  
    33// This code is published under the Common Public License.
    44//
    5 // $Id: MyNLP.cpp 419 2005-08-01 18:34:28Z andreasw $
     5// $Id$
    66//
    77// Authors:  Carl Laird, Andreas Waechter     IBM    2005-08-16
  • branches/dev/Examples/hs071_cpp/hs071_nlp.hpp

    • Property svn:keywords set to Author Date Id Revision
    r501 r507  
    33// This code is published under the Common Public License.
    44//
    5 // $Id: MyNLP.hpp 419 2005-08-01 18:34:28Z andreasw $
     5// $Id$
    66//
    77// Authors:  Carl Laird, Andreas Waechter     IBM    2005-08-09
  • branches/dev/Interfaces/IpInterfacesRegOp.cpp

    • Property svn:keywords set to Author Date Id Revision
    r501 r507  
    33// This code is published under the Common Public License.
    44//
    5 // $Id: IpInterfacesRegOp.hpp 430 2005-08-10 00:19:54Z andreasw $
     5// $Id$
    66//
    77// Authors:  Carl Laird, Andreas Waechter     IBM    2005-08-16
  • branches/dev/Interfaces/IpInterfacesRegOp.hpp

    • Property svn:keywords set to Author Date Id Revision
    r501 r507  
    33// This code is published under the Common Public License.
    44//
    5 // $Id: IpInterfacesRegOp.hpp 430 2005-08-10 00:19:54Z andreasw $
     5// $Id$
    66//
    77// Authors:  Carl Laird, Andreas Waechter     IBM    2005-08-16
  • branches/dev/Interfaces/IpSolveStatistics.cpp

    • Property svn:keywords set to Author Date Id Revision
    r444 r507  
    33// This code is published under the Common Public License.
    44//
    5 // $Id: IpTNLPAdapter.cpp 433 2005-08-11 16:28:35Z andreasw $
     5// $Id$
    66//
    77// Authors:  Andreas Waechter          IBM    2005-08-15
  • branches/dev/Interfaces/IpSolveStatistics.hpp

    • Property svn:keywords set to Author Date Id Revision
    r501 r507  
    33// This code is published under the Common Public License.
    44//
    5 // $Id: IpTNLPAdapter.hpp 430 2005-08-10 00:19:54Z andreasw $
     5// $Id$
    66//
    77// Authors:  Carl Laird, Andreas Waechter          IBM    2005-08-15
  • branches/dev/LICENSE

    • Property svn:keywords set to Author Date Id Revision
  • branches/dev/Windows/VisualStudio_dotNET/Ipopt/Ipopt.sln

    • Property svn:keywords set to Author Date Id Revision
  • branches/dev/Windows/VisualStudio_dotNET/Ipopt/Ipopt.vcproj

    • Property svn:keywords set to Author Date Id Revision
  • branches/dev/configure

    r484 r507  
    24592459
    24602460# C++ link libraries #
    2461 CXXLIBS=
     2461
    24622462if test -z "$CXXLIBS"; then
    24632463  if test "$GXX" = "yes"; then
  • branches/dev/configure.ac

    r484 r507  
    66
    77# Authors:  Carl Laird, Andreas Waechter     IBM    2004-08-13
    8 
    9 ## SGI: ./configure CC=cc F77=f77 CXX=CC CXXFLAGS="-g -LANG:std -DOLD_C_HEADERS" AR="CC -ar" ARFLAGS="-o " AR_X="ar x" FFLAGS=-g CFLAGS=-g CXXLIBS='-lCsup -lC -lCio'
    10 ## AIX: ./configure CC=xlc F77=xlf CXX=xlC --with-lapack=$HOME/lib/liblapack.a CFLAGS=-g FFLAGS=-g CXXFLAGS="-g -qrtti=dyna" CXXLIBS="-lC -lc"
    11 ## HP1: configure --with-asl=$HOME/COIN/OBJhp1/OTHERS/ASL/amplsolver.a --with-blas=/opt/fortran/lib/libblas.a --with-hsl=$HOME/COIN/OBJhp1/OTHERS/HSL/libiphsl.a --with-lapack=$HOME/COIN/OBJhp1/OTHERS/lapack/libiplapack.a F77=/opt/fortran/bin/fort77 CC=/opt/ansic/bin/cc CXX=/opt/aCC/bin/aCC FFLAGS='-g' CFLAGS='-g' CXXFLAGS='-AA -DMY_C_FINITE=isfinite -g' CXXLIBS='-L/opt/aCC/lib -l++ -lstd_v2 -lCsup_v2 -lm -lcl -lc'
    12 # gridsun1: need AR='CC -xar' ARFLAGS='-o'
    138
    149AC_PREREQ(2.59)
     
    225220
    226221# C++ link libraries #
    227 AC_ARG_VAR(CXXLIBS,[Libraries necessary for linking C++ code with Fortran compiler])CXXLIBS=
     222AC_ARG_VAR(CXXLIBS,[Libraries necessary for linking C++ code with Fortran compiler])
    228223if test -z "$CXXLIBS"; then
    229224  if test "$GXX" = "yes"; then
Note: See TracChangeset for help on using the changeset viewer.