[Mono-devel-list] Native code in mcs & Mono.Posix

Peter Williams peter at newton.cx
Thu Jan 8 03:04:19 EST 2004

On Wed, 2004-01-07 at 22:17, Miguel de Icaza wrote:
> The reason for the code to live in mcs, is that the C code that is
> compiled needs to know about the values defined in the C# world.  So the
> solution is to use a C# program with attributes, and from this we
> generate the C code that gets compiled.

Does anything in the MCS module actually use Mono.Posix? If it were
possible, I think it would make sense to move Mono.Posix into its own
module and write a quick configure script for it. The gdiplus code, on
the other hand, is not generated from C# land, so it could go into the
mono/ module perhaps. 

We could try invoking libtool, but that doesn't fix Bernie's worries
about using the build tree for different platforms, and Cygwin folks
would need yet another program to build MCS.

> A longer term option *might be* to use Peter's build software.

That's not remotely plausible yet; you'll know when I think it's ready


Peter Williams                          peter at newton.cx

"[Ninjas] are cool; and by cool, I mean totally sweet."
                              -- REAL Ultimate Power

More information about the Mono-devel-list mailing list