[Mono-list] Trying to build mono on OS/400 V5R2 PASE

Alexandre Braganca alexandre.braganca@i2s.pt
Fri, 18 Jul 2003 10:12:44 +0100


> -----Original Message-----
> From: Paolo Molaro [mailto:lupus@ximian.com]=20
> Sent: quinta-feira, 17 de Julho de 2003 17:54
> To: mono-list@ximian.com
> Subject: Re: [Mono-list] Trying to build mono on OS/400 V5R2 PASE
>=20
>=20
> On 07/16/03 Alexandre Braganca wrote:
> > I am trying to build mono on the PASE environment of OS/400. The=20
> > processor is a powerpc and it has the AIX C/C++ compiler from IBM.=20
> > When I configure the system I have to tell it is=20
> > powerpc-ibm-aix4.3.3.0. I have already build all the mono=20
> dependencies=20
> > and I am now trying to build mono.
> >=20
> > As expected I encountered some problems. One of the=20
> problems is macros=20
> > already defined. For instance the proc.h header of PASE defines=20
> > THREAD_TERMINATED as 12 and threads.h of mono defines as 1.
>=20
> Source pollution at its finest! Blame MS and IBM for that.=20
> THREAD_TERMINATE is there to provide a win32-like interface=20
> in the mono runtime and since the win32 API defines it, we do=20
> it, too. It seems it's not usd anywhere, yet, though, so in=20
> this case I'd suggest just commenting it out for now.
>=20
It worked...

> > - What is the best process to do what I am trying to do?=20
> Some of you=20
> > working on Solaris or MacOS can give me some hints?
>=20
> The best suggestion is: try it out, report the problems you=20
> find (better if with a patch attached:-).
>=20
I will try to do that in the future...:-)

> lupus
>=20
> --=20
> -----------------------------------------------------------------
> lupus@debian.org                                     debian/rules
> lupus@ximian.com                             Monkeys do it better
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com=20
> http://lists.ximian.com/mailman/listinfo/mono-> list
>=20


Alexandre Bragan=E7a
--------------------------------------------
I&D Investiga=E7=E3o e Desenvolvimento
I2S Inform=E1tica - Sistemas e Servi=E7os, S.A.
Trv. Ribeiro de Sousa, 40
Porto, Portugal
alexandre.braganca@i2s.pt
www.i2s.pt
=20