Changes between Version 6 and Version 7 of user-compile


Ignore:
Timestamp:
Oct 6, 2006 2:36:22 PM (15 years ago)
Author:
andreasw
Comment:

adapt to vpath installation in build

Legend:

Unmodified
Added
Removed
Modified
  • user-compile

    v6 v7  
    88
    99Assume that you have [wiki:user-download dowloaded the package] {{{Pkg}}}
    10 in the directory {{{Coin-Pkg}}} and that you have [wiki:user-configure run the configure script] with appropriate options successfully in the directory {{{Coin-Pkg}}}.
     10in the directory {{{Coin-Pkg}}} and that you have [wiki:user-configure run the configure script] with appropriate options successfully in the directory {{{Coin-Pkg/build}}}.
    1111
    12 You can now compile the source code, including all subprojects, by typing in {{{Coin-Pkg}}}
     12You can now compile the source code, including all subprojects, by typing in {{{Coin-Pkg/build}}}
    1313{{{
    1414make
     
    2020== Testing the Compilation ==
    2121
    22 Most of the COIN projects provide a unit test (in the {{{test}}} subdirectory), which can be used to verify if the compiled code works correctly.  If you want to test the compilation for the main project only (e.g., {{{Clp}}}) you type in {{{Coin-Clp}}}
     22Most of the COIN projects provide a unit test (in the {{{test}}} subdirectory), which can be used to verify if the compiled code works correctly.  If you want to test the compilation for the main project only (e.g., {{{Clp}}}) you type in {{{Coin-Clp/build}}}
    2323
    2424{{{
     
    4545}}}
    4646
    47 Again, you don't need to type {{{make}}} first.  This will install the executable files in {{{$prefix/bin}}}, the libraries in {{{$prefix/lib}}}, and the header files in {{{$prefix/include}}}.  Here, {{{$prefix}}} stands for the installation directory, which by default is the directory in which you ran the {{{configure}}} script.  The installation directory is otherwise the argument you specified with the {{{--prefix}}} argument for {{{configure}}}.
     47Again, you don't need to type {{{make}}} first.  This will install the executable files in {{{$prefix/bin}}}, the libraries in {{{$prefix/lib}}}, and the header files in {{{$prefix/include}}}.  Here, {{{$prefix}}} stands for the installation directory, which by default is the directory in which you ran the {{{configure}}} script (which on this page we assumed to be {{{Coin-Pkg/build}}}).  The installation directory is otherwise the argument you specified with the {{{--prefix}}} argument for {{{configure}}}.
    4848
    4949In the {{{lib}}} directory you will also see '''*_addlibs.txt''' files (such as {{{clp_addlibs.txt}}}).  This contains a string with additionally required libraries (such as {{{-lz}}} if you are using the zlib GNU package), adapted to your system and configuration settings.  If you link with an installed COIN library, you should also specify the context of the corresponding {{{*_addlibs.txt}}} file in the link command.