Changes between Version 5 and Version 6 of user-compile
- Timestamp:
- Oct 6, 2006 2:33:24 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
user-compile
v5 v6 7 7 == Compiling the Code == 8 8 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}}}. 9 Assume 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}}}. 12 11 13 12 You can now compile the source code, including all subprojects, by typing in {{{Coin-Pkg}}} 14 15 13 {{{ 16 14 make 17 15 }}} 18 19 16 The 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. 20 17 … … 48 45 }}} 49 46 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 whereyou ran the {{{configure}}} script. The installation directory is otherwise the argument you specified with the {{{--prefix}}} argument for {{{configure}}}.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}}}. 51 48 52 49 In 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.