[Mono-devel-list] Mono on AIX

Bernie Solomon bernard at ugsolutions.com
Mon Apr 5 15:49:09 EDT 2004


The equivalent to _HPUX_SOURCE on AIX is
_ALL_SOURCE - and similarly this will define
all symbols in system headers not just those
in whatever the minimum standard is. Unlike HPUX
you must define _XOPEN_SOURCE as well to
get the XOPEN symbols defined properly. I tend
to try and use the minimum set of symbols to get things
to work so perhaps trying _XOPEN_SOURCE=500
is a start.

I don't believe _AIX_SOURCE exists as a symbol
that makes any difference to system headers.

Bernie

----- Original Message ----- 
From: "Eran Sandler" <esandler at netvision.net.il>
To: "Miguel de Icaza" <miguel at ximian.com>
Cc: <mono-devel-list at lists.ximian.com>
Sent: Sunday, April 04, 2004 12:46 AM
Subject: Re: [Mono-devel-list] Mono on AIX


> Hi,
>
> I actually managed to fix the Makefile problem and I did manage to
> compile Mono on AIX :-)
>
> 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.
>
> There are some minor code changes for AIX specifically and thats why I
> need a flag.
>
> Do you recommend using PLATFORM_AIX ?
>
>
> After I'll finish making everything work, I will start fixing up the
> various configure.in files and autogen scripts to make it work out of
> the box for AIX.
>
> Is there a chance that if I do complete most of the AIX support it will
> go in v1.0?
>
> Thanks,
> Eran
>
> On Sat, 2004-04-03 at 19:24, Miguel de Icaza wrote:
> > Hello,
> >
> > > I also have a problem that is keeping me from going further in the
porting
> > > process.
> > > For some reason, I'm keep getting stuck in the mono/arch Makefile with
the
> > > following error:
> > > gmake[1]: *** No rule to make target `/libmonoarch-ppc`, needed by
> > > `libmonoarch.la`.   Stop.
> >
> > This might be an issue with your make setup, since the target on the
> > makefile uses the same macro to expand the head and the tail there.
> >
> > > I also got a general question. I saw in some of the configuration
files that
> > > a defined called _HPUX_SOURCE (or something like that was used).
Therefore,
> > > for the AIX code changes I am currently using a define called
_AIX_SOURCE.
> > > If there is another convention of names, I would be glad to change it
to
> > > what it should look like.
> >
> > If I remember correctly, _HPUX_SOURCE brings various definitions of
> > structs and functions that would otherwise not be exposed.
> >
> > I do not know what _AIX_SOURCE would do.
> >
> > Miguel
> > _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>




More information about the Mono-devel-list mailing list