[Mono-list] C/C++ Compiler for Mono environment?

Marcus mathpup at mylinuxisp.com
Wed Dec 28 01:22:16 EST 2005


> > I've googled, but I don't find any info on C or C++ compilers that
> > target the CLR.  I did find a couple of partial results, but nothing
> > that actually seems to work.
> >
> > Is there a working C/C++ Compiler for Mono?   (Other than MSFT VS)

Do you need something that will compile C and C++ or just C? Are you looking 
something with capabilities like MS's compiler that can interface with both 
existing C++ libs and C# code and has IJW ("it just works") marshaling?

> Not strictly mono, but also open source project implementing the .Net
> runtime and tools, Portable.Net has a C compiler they claim works:
>
> http://www.dotgnu.org/pnet.html
>
> I haven't ever used it personally nor looked at it, but it probably works
> fine when compiling C to IL. It won't run under mono, though - you need the
> pnet runtime.

The assemblies produced by the Portable.NET C compiler will run under Mono 
once you install the OpenSystem.C.dll and libc.dll assemblies.


More information about the Mono-list mailing list