Skip to content

Commit

Permalink
update documentation on building shared libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Voigt authored and Alexander Voigt committed Jul 21, 2016
1 parent eba874a commit 3c46319
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions README
Expand Up @@ -212,18 +212,18 @@ Dynamic libraries
If you want to create dynamic libraries (instead of static libraries)
you have to pass all the following options to the ./configure script

--disable-static-libs
--with-lib-ext=".so"
--with-make-lib-cmd="gcc -shared -o"
--enable-shared-libs
--with-shared-lib-ext=".so"
--with-shared-lib-cmd="gcc -shared -o"

When using Intel compilers, replace `gcc' by `icc' or `icpc'.

Example:

$ ./configure --with-models=MSSM,NMSSM \
--disable-static-libs \
--with-lib-ext=".so" \
--with-make-lib-cmd="gcc -shared -o"
--enable-shared-libs \
--with-shared-lib-ext=".so" \
--with-shared-lib-cmd="gcc -shared -o"

Important remark:

Expand Down
8 changes: 4 additions & 4 deletions doc/building.dox
Expand Up @@ -174,15 +174,15 @@ shall be packed. After `make` has finished, the package file
If you want to create dynamic libraries (instead of static libraries)
you have to pass all the following options to the `configure` script

--disable-static-libs
--with-lib-ext=".so"
--with-make-lib-cmd="gcc -shared -o"
--enable-shared-libs
--with-shared-lib-ext=".so"
--with-shared-lib-cmd="gcc -shared -o"

When using Intel compilers, replace `gcc` by `icc` or `icpc`.

Example:

./configure --with-models=MSSM,NMSSM --disable-static-libs --with-lib-ext=".so" --with-make-lib-cmd="gcc -shared -o"
./configure --with-models=MSSM,NMSSM --enable-shared-libs --with-shared-lib-ext=".so" --with-shared-lib-cmd="gcc -shared -o"

Important remark:

Expand Down

0 comments on commit 3c46319

Please sign in to comment.