Changes between Version 5 and Version 6 of user-compile


Ignore:
Timestamp:
Oct 6, 2006 2:33:24 PM (14 years ago)
Author:
andreasw
Comment:

minor cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • user-compile

    v5 v6  
    77== Compiling the Code ==
    88
    9 Assume that you have dowloaded the package {{{Pkg}}}
    10 in the directory {{{Coin-Pkg}}} and that you have run {{{configure}}} with appropriate options successfully in
    11 the directory {{{Coin-Pkg}}}.
     9Assume that you have [wiki:user-download dowloaded the package] {{{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}}}.
    1211
    1312You can now compile the source code, including all subprojects, by typing in {{{Coin-Pkg}}}
    14 
    1513{{{
    1614make
    1715}}}
    18 
    1916The COIN Makefiles should work with any UNIX {{{make}}}.   If you are using GNU make and want to use the parallel compilation feature, you can do this by specifying the {{{-j N}}} option to {{{make}}}, where {{{N}}} is the number of parallel compilations you want to start.  A good value for {{{N}}} is the number of available processors plus 1.
    2017
     
    4845}}}
    4946
    50 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 where 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.  The installation directory is otherwise the argument you specified with the {{{--prefix}}} argument for {{{configure}}}.
    5148
    5249In 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.