Is there a way to link the Getfem library to a MVS C++ project that uses the 
library? If so, could anyone put me in the right direction on how to do it?

I build the library with the following sequence: 

./configure --enable-shared
make
make install 

This produces "libgetfem.a" and "libgetfem.la" among other things. 
Linking to them statically from a c++ program works absolutely fine, provided 
that the code that uses the library is also compiled with gcc (in my case 
from mingw).

Despite the "--enable-shared" option passed to "configure", the 
outcome "libgetfem.a" still seems to look like a static library, which as far 
as I can tell can only be used by code compiled with the same version of gcc 
(pls correct me if I'm wrong). 

Do I need to produce a DLL? If so, how?

Note: I am using the release version of getfem++3.1

Many thanks in advance
Andres

_______________________________________________
Getfem-users mailing list
[email protected]
https://mail.gna.org/listinfo/getfem-users

Reply via email to