INSTALL
changeset 2402 da8eb8f4ea41
parent 2131 e81cd2898f7a
equal deleted inserted replaced
1:4e1fa554fe43 2:bf85dc54e4ac
    38 
    38 
    39 
    39 
    40 Configure Flags
    40 Configure Flags
    41 ===============
    41 ===============
    42 
    42 
    43    You can pass the following flags to configure in step 1 (see ./configure
    43    You can pass the following flags to configure in step 1
    44 --help for more):
    44 (see ./configure --help for more):
    45 
    45 
    46    --with-glpk[=PREFIX]
    46 CXX=comp
    47 
    47 
    48    Enable GLPK support (default). You should specify the prefix too if you
    48   Change the C++ compiler to 'comp'.
    49 installed GLPK to some non-standard location (e.g. your home directory). If it
       
    50 is not found, GLPK support will be disabled.
       
    51 
    49 
    52    --with-glpk-includedir=DIR
    50 CXXFLAGS='flags'
    53 
    51 
    54    The directory where the GLPK header files are located. This is only useful
    52   Pass the 'flags' to the compiler. For example
    55 when the GLPK headers and libraries are not under the same prefix (which is
    53   CXXFLAGS='-O3 -march=pentium-m'
    56 unlikely).
    54   turns  on generation of aggressively optimized
       
    55   Pentium-M specific code.
    57 
    56 
    58    --with-glpk-libdir=DIR
    57 --enable-demo
    59 
    58 
    60    The directory where the GLPK libraries are located. This is only useful
    59    Build the demo programs too.
    61 when the GLPK headers and libraries are not under the same prefix (which is
       
    62 unlikely).
       
    63 
    60 
    64    --without-glpk
    61 --disable-demo
       
    62 
       
    63    Do not build the demo programs (default).
       
    64 
       
    65 --enable-benchmark
       
    66 
       
    67    Build the benchmark programs too.
       
    68 
       
    69 --disable-benchmark
       
    70 
       
    71    Do not build the benchmark programs (default).
       
    72 
       
    73 --with-glpk[=PREFIX]
       
    74 
       
    75    Enable GLPK support (default). You should specify the prefix too if
       
    76    you installed GLPK to some non-standard location (e.g. your home
       
    77    directory). If it is not found, GLPK support will be disabled.
       
    78 
       
    79 --with-glpk-includedir=DIR
       
    80 
       
    81    The directory where the GLPK header files are located. This is only
       
    82    useful when the GLPK headers and libraries are not under the same
       
    83    prefix (which is unlikely).
       
    84 
       
    85 --with-glpk-libdir=DIR
       
    86 
       
    87    The directory where the GLPK libraries are located. This is only
       
    88    useful when the GLPK headers and libraries are not under the same
       
    89    prefix (which is unlikely).
       
    90 
       
    91 --without-glpk
    65 
    92 
    66    Disable GLPK support.
    93    Disable GLPK support.
    67 
    94 
    68    --with-cplex[=PREFIX]
    95 --with-cplex[=PREFIX]
    69 
    96 
    70    Enable CPLEX support (default). You should specify the prefix too if you
    97    Enable CPLEX support (default). You should specify the prefix too
    71 installed CPLEX to some non-standard location (e.g. /opt/ilog/cplex75). If it
    98    if you installed CPLEX to some non-standard location
    72 is not found, CPLEX support will be disabled.
    99    (e.g. /opt/ilog/cplex75). If it is not found, CPLEX support will be
       
   100    disabled.
    73 
   101 
    74    --with-cplex-includedir=DIR
   102 --with-cplex-includedir=DIR
    75 
   103 
    76    The directory where the CPLEX header files are located. This is only useful
   104    The directory where the CPLEX header files are located. This is
    77 when the CPLEX headers and libraries are not under the same prefix (e.g.
   105    only useful when the CPLEX headers and libraries are not under the
    78 /usr/local/cplex/cplex75/include).
   106    same prefix (e.g.  /usr/local/cplex/cplex75/include).
    79 
   107 
    80    --with-cplex-libdir=DIR
   108 --with-cplex-libdir=DIR
    81 
   109 
    82    The directory where the CPLEX libraries are located. This is only useful
   110    The directory where the CPLEX libraries are located. This is only
    83 when the CPLEX headers and libraries are not under the same prefix (e.g.
   111    useful when the CPLEX headers and libraries are not under the same
    84 /usr/local/cplex/cplex75/lib/i86_linux2_glibc2.2_gcc3.0/static_pic_mt).
   112    prefix (e.g.
       
   113    /usr/local/cplex/cplex75/lib/i86_linux2_glibc2.2_gcc3.0/static_pic_mt).
    85 
   114 
    86    --without-cplex
   115 --without-cplex
    87 
   116 
    88    Disable CPLEX support.
   117    Disable CPLEX support.
    89 
       
    90    --enable-demo
       
    91 
       
    92    Build the demo programs too.
       
    93 
       
    94    --disable-demo
       
    95 
       
    96    Do not build the demo programs (default).
       
    97 
       
    98    --enable-benchmark
       
    99 
       
   100    Build the benchmark programs too.
       
   101 
       
   102    --disable-benchmark
       
   103 
       
   104    Do not build the benchmark programs (default).