Google Groups

[ADMB Users] was Re: Printing a vector in a row format -- Change to DLL something

dave fournier Mar 7, 2012 4:50 PM
Posted in group: admb-users
I checked out the bimix DLL example with the current admb sofware and R.

Thing to do is to add -fPIC option when building the libraries and also when
creating the shared library under gcc.

To create a shared library add the --shared option and  get the
with the -o$ option

g++  --shared  -fPIC -ggdb -w -fpermissive  -DUSE_LAPLACE -Dlinux
-D__GNUDOS__ -o$ $1.cpp

The code seems to be reentrant for this example.

Users mailing list