Re: [petsc-users] Build PETSc as shared library on Windows ("traditional" build or CMake)

2016-03-19 Thread Barry Smith
> On Mar 16, 2016, at 3:22 PM, E. Tadeu wrote: > > Thanks Satish, > > Just to let you know, with a few minor modifications and extra parameters, > I've managed to build it using configure under Cygwin, and then, outside > cygwin, running non-cygwin cmake inside the

Re: [petsc-users] Build PETSc as shared library on Windows ("traditional" build or CMake)

2016-03-19 Thread E. Tadeu
Of course, this is what I did (I'm building it for MSVC 2010, but it should be similar for other versions): - call `setenv.cmd` (or `vcvarsall`) to configure the compiler environment (this should be configured at all steps) - enter Cygwin, call `configure` normally from inside Cygwin, adding

Re: [petsc-users] Build PETSc as shared library on Windows ("traditional" build or CMake)

2016-03-19 Thread E. Tadeu
Thanks Satish, Just to let you know, with a few minor modifications and extra parameters, I've managed to build it using configure under Cygwin, and then, outside cygwin, running non-cygwin cmake inside the "arch-..." folder, targeting MSVC. On Mon, Mar 14, 2016 at 6:31 PM, Satish Balay

Re: [petsc-users] Build PETSc as shared library on Windows ("traditional" build or CMake)

2016-03-14 Thread Satish Balay
you could try precompiled petsc from http://www.msic.ch/Downloads/Software [its old 3.5 version though] We don't have any changes wrt .dlls or cmake on windows.. Satish On Mon, 14 Mar 2016, E. Tadeu wrote: > Hi, > > What is the current status of building PETSc as a shared library on >

[petsc-users] Build PETSc as shared library on Windows ("traditional" build or CMake)

2016-03-14 Thread E. Tadeu
Hi, What is the current status of building PETSc as a shared library on Windows? It seems non-trivial: `--with-shared-libraries=1` won't work, since Cygwin's `ld` fails, and `win32fe` also fails. Also, what is the status of building PETSc with CMake on Windows? Perhaps through using CMake it