[Mono-list] existing managed C++-libraries for Mono and whats with csgl?

Serge serge@wildwestsoftware.com
Wed, 31 Jul 2002 02:26:34 +0300


> Is that it calls MSCV SPECIFIC pinvokes for standard libs.

To create pure IL binary with MC++:
 * Remove all standard libs (such as libc etc.);
 * Use -Zl option for compiler;
 * Use -entry:main option for the linker (replace main with your own entry point);

That's it.
This assumes of course that you don't use any of the C-library calls, only .NET framework libs.
Some of the intrinsic functions still can be used, e.g. memcpy. STL-stuff can be used as well.


Sergey


----- Original Message ----- 
From: "Simon Waite" <simon@psionics.demon.co.uk>
To: <mono-list@ximian.com>
Sent: Wednesday, July 31, 2002 12:13 AM
Subject: Re: [Mono-list] existing managed C++-libraries for Mono and whats with csgl?


> >From my own observations with ILdisam (or whatever its called)
> 
> Is that it calls MSCV SPECIFIC pinvokes for standard libs.
> 
> (this is if you use managed C++ project of course)
>