The C++/CLI compiler is definitely Windows-only. But I'm not sure whether the generated code would be, if you compile with /clr:pure (which can still handle everything except for setjmp/longjmp).
/clr:pure has been deprecated for some time now, unfortunately. But older compilers are still around...