Hello,
is there a way of linking an external library (I have included code that uses the GNU scientific library in a MOD-file) when using nrnivmodl? I've been able to accomplish this by recompiling NEURON and defining appropriate environment variables (namely, CFLAGS and LDFLAGS), but it would be nice to do this without having to recompile the full source code.
Thank you in advance,
Daniele
Linking external libraries with nrnivmodl
Re: Linking external libraries with nrnivmodl
use
nrnivmodl -incflags "-I... -I.... -Ietcetera" -loadflags "-L... -lfoo"
to add the include flags during compiling and the ld options during linking.
nrnivmodl is a shell script.
nrnivmodl -incflags "-I... -I.... -Ietcetera" -loadflags "-L... -lfoo"
to add the include flags during compiling and the ld options during linking.
nrnivmodl is a shell script.