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

Paolo Molaro lupus@ximian.com
Thu, 17 Jul 2003 18:53:56 +0200


On 07/16/03 Alexandre Braganca wrote:
> I am trying to build mono on the PASE environment of OS/400.
> The processor is a powerpc and it has the AIX C/C++ compiler from IBM.
> When I configure the system I have to tell it is powerpc-ibm-aix4.3.3.0.
> I have already build all the mono dependencies and I am now trying to build mono.
> 
> As expected I encountered some problems. One of the problems is
> macros already defined. For instance the proc.h header of PASE defines
> THREAD_TERMINATED as 12 and threads.h of mono defines as 1.

Source pollution at its finest! Blame MS and IBM for that.
THREAD_TERMINATE is there to provide a win32-like interface in the
mono runtime and since the win32 API defines it, we do it, too.
It seems it's not usd anywhere, yet, though, so in this case I'd suggest
just commenting it out for now.

> - What is the best process to do what I am trying to do? Some of you working on Solaris or MacOS can give me some hints?

The best suggestion is: try it out, report the problems you find (better
if with a patch attached:-).

lupus

-- 
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better