[petsc-dev] status of DLL on windows

Satish Balay balay at mcs.anl.gov
Mon May 6 12:31:28 CDT 2013


On Mon, 6 May 2013, Chetan Jhurani wrote:

> Hi,
> 
> What is the current status of building PETSc DLL on Windows?
> 
> Can a DLL be generated via old (non-CMake) configure with some
> extra flags?

Nope.

> 
> I couldn't find something quickly via Google and I thought
> I'll ask.  Specifically, I see this code in petscsys.h.
> 
> #if defined(_WIN32) && defined(PETSC_USE_SHARED_LIBRARIES) /* For Win32 shared libraries */
> #  define PETSC_DLLEXPORT __declspec(dllexport)
> #  define PETSC_DLLIMPORT __declspec(dllimport)
> 
> Is this being used?

Not yet. Perhaps it will be used when build tools are rehauled to not use cygwin.

Satish




More information about the petsc-dev mailing list