[petsc-dev] status of DLL on windows

Barry Smith bsmith at mcs.anl.gov
Mon May 6 13:24:09 CDT 2013


On May 6, 2013, at 12:31 PM, Satish Balay <balay at mcs.anl.gov> wrote:

> 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.
   
    Generating DLL shouldn't have anything to do with cygwin or not?  So long as using Microsoft compilers. What is holding up a DLL?

   Barry

> 
> Satish
> 




More information about the petsc-dev mailing list