← Back to team overview

fenics team mailing list archive

Re: MSVC version of FEniCS

 

On Fri, Dec 09, 2005 at 08:54:43PM -0500, tomtzigt wrote:
>    Guys:
> 
> 
> 
>     I decided to see if I can transmogrify FEniCS into something that MSDev
>    .NET understands. I am successfully building many of the kernel projects
>    but in getting this to work I see a handful of Unixisms that will never
>    port to Windows natively.

Anything specific you think of?

If for some reason you insist on running on Windows, I suggest using
Cygwin which at least gives you a Unix-like environment.

> The typical way to deal with this is to have
>    some standard
> 
> 
> 
>    #ifdef LINUX_GNU
> 
>    #include <woopdido>
> 
>    #elsif WINDOWS
> 
>    #include <woopdida>
> 
>    #endif
> 
> 
> 
>    constructs in the headers which I can hack into the code in a fine way and
>    a not so fine way. So I am trying to gauge if native windowness using the
>    MS compilers is desired by many or just me.

It's nothing I desire, but I'm not opposed to it. It could bring some
advantages, such as forcing us to follow standards which will also benefit
other platforms.

>    If it is the latter then I
>    won't try to solve this problem neatly. If the larger community is
>    interested, I can solve it nicely.
> 
> 
> 
>    Opinions?
> 
> 
> 
>    Theo

Any suggestions are welcome. I have never built anything on Windows
(except under Cygwin) so the whole Windows platform is a mystery to
me.

/Anders



Follow ups

References