Except that it looks like the M compiler (MUMPS compiler) is actually a
compiler for the x86.  This won't be useful on a S/390.  Retargeting a
compiler is hard work.  Too bad this wasn't created as part of the GNU
compiler suite.

-----Original Message-----
From: Adam Thornton [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 05, 2003 1:40 PM
To: [EMAIL PROTECTED]
Subject: Re: Porting Problems


On Tue, 2003-08-05 at 16:32, Yogish wrote:
> Hi
> We do have the source of the mumps compiler and it is written in C
language

Then it seems very unlikely you will have to rewrite the whole thing.
At worst, you will probably have to fix little-endian assumptions;
you're in luck in that the word size will not change.  So mostly it'll
be a matter of making sure that your data type definitions match up, and
then finding and eliminating places where it's assumed data is stored in
little-endian rather than big-endian byte order.  In any case, it should
be far short of a complete rewrite.

Adam

Reply via email to