[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[open-cobol-list] open-cobol on ppc64
From: |
Keisuke Nishida |
Subject: |
[open-cobol-list] open-cobol on ppc64 |
Date: |
Thu Apr 14 11:22:29 2005 |
User-agent: |
Mozilla Thunderbird 1.0 (Windows/20041206) |
Hi,
Some guys have ported open-cobol to linux on 64-bit powerpc,
and I have integrated their patches into CVS.
The point was the following:
1. You need the gcc option `-fsigned-char'.
2. You need the gcc option `-fPIC'.
3. Compound literals like "... = (struct frame) {%d, &&%s%d};"
should be avoided due to gcc bug.
4. The test suite should work correctly on big-endian machines.
At this point, all tests in the tests/ subdirectory and those
in tests/cobol85/ pass without any regression.
It would be better, however, if we could also do the following:
1. Rewrite "char" into "int8_t", "unsigned char" into "uint8_t", etc.
2. Make full use of 64-bit computation for arithmetic.
(Is this done already? I'm not sure.)
These are todo at this moment.
Cheers,
Keisuke
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [open-cobol-list] open-cobol on ppc64,
Keisuke Nishida <=