[petsc-users] custom compiler flags on Windows

Dominik Szczerba dominik at itis.ethz.ch
Thu Feb 17 10:37:35 CST 2011


I need to use some special compile flags when compiling with 'cl' on Windows.
While configuring I currently use --with-cxx='win32fe cl', which works
fine, but if I add some flags after cl the configure brakes,
complaining that the compiler does not work.
I also tried using --with-cxx='cl /MY /OPTIONS' but the result is the
same as before.
Is there a way to specify my own flags with Petsc (or add to them)?
Best regards,
Dominik


More information about the petsc-users mailing list