[Mono-devel-list] Mono on AIX

Miguel de Icaza miguel at ximian.com
Sun Apr 4 13:09:03 EDT 2004


Hello,

> I got some dependencies problems, mainly with gettext and libintl which
> I need to resolve and than I will be able to test mono.exe.
> 
> Regarding the _AIX_SOURCE flag, I know there is a flag named
> PLATFORM_WIN32 which is used to define Windows specific code. I was
> wondering whether there is a convetion for naming such flags because I
> need such a flag to make everything work on AIX.

PLATFORM_WIN32 is a big "catch all" for many features which are
radically different than their Unix counterparts.

In Unix you should probe for specific features, since most Unix systems
are similar and only differ slightly from one to another, and some
differences are even in the same OS but different revisions.

So for Unix, any kind of `If Solaris' or `If BSD' is likely the wrong
thing to do.

For AIX patches to go into Mono, you need to use feature-based
configuration options, and use autoconf to probe for those features like
we do for the rest.

Miguel.



More information about the Mono-devel-list mailing list