Changes between Version 35 and Version 36 of user-configure


Ignore:
Timestamp:
May 12, 2011 4:36:28 AM (8 years ago)
Author:
stefan
Comment:

tell that --enable-debug switches over to static linking

Legend:

Unmodified
Added
Removed
Modified
  • user-configure

    v35 v36  
    5252 * '''--prefix''': By default, the binaries and header files are installed (by {{{make install}}}) into {{{bin}}}, {{{lib}}}, and {{{include}}} subdirectories of the directory where the main configuration script was run. If you would like {{{make install}}} ''' to install the files in a different location''' (such as {{{$HOME}}}), you need to use this option, ''e.g.'', {{{--prefix=$HOME}}}.
    5353
    54  * '''--enable-debug''': This causes {{{configure}}} to select the '''debug compiler options'''.  It also defines the preprocessor macro {{{COIN_DEBUG}}}, which in some source code is use to '''activate additional (time-consuming) consistency tests'''.
    55 
    5654 * '''--enable-static''': By default, the COIN-OR libraries are compiled as shared libraries or DLLs on platforms that support this.  If you want '''static libraries to be generated as well''', you need to specify this option.
    5755
    5856 * '''--disable-shared''': If you want '''only static libraries''' to be compiled and no shared objects or DLLs, you should specify this option.
     57
     58 * '''--enable-debug''': This causes {{{configure}}} to select the '''debug compiler options'''.  It also defines the preprocessor macro {{{COIN_DEBUG}}}, which in some source code is use to '''activate additional (time-consuming) consistency tests'''.
     59 Further, this option '''implies --disable-shared''', i.e., the build is automatically switched to static linking. This can be avoided by additionally setting the option --enable-shared explicitly.
    5960
    6061 * '''--enable-gnu-packages''': Some of the COIN-OR projects can make use of GNU packages (such as zlib, bzlib, or readline).  Since they are usually provided under the GPL license, which has rather strong conditions, the configuration scripts do not check for the availability of those packages by default.  If you want to '''check for the availability of GNU packages so that they are linked into your code if available''', you need to specify this option. (Depending on your system configuration, it may be necessary to add to CPPFLAGS the path to the relevant include files, and to LDFLAGS the path to the relevant libraries, so that the packages' header and library files can be found).