[petsc-users] custom compiler flags on Windows
Matthew Knepley
knepley at gmail.com
Thu Feb 17 10:59:44 CST 2011
On Thu, Feb 17, 2011 at 10:37 AM, Dominik Szczerba <dominik at itis.ethz.ch>wrote:
> 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)?
>
--COPTFLAGS="<flags>" --FOPTFLAGS="" --CXXOPTFLAGS=""
Matt
> Best regards,
> Dominik
--
What most experimenters take for granted before they begin their experiments
is infinitely more interesting than any results to which their experiments
lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110217/8d612bdd/attachment-0001.htm>
More information about the petsc-users
mailing list