gsschaffer@watdaisy.UUCP (Greg Schaffer) (06/09/86)
< >
I would like to know if anyone has heard of a C compiler for the ST which
uses 32-bit 'int's. I would like to port a program from VAX to a 1040 ST
(code assumes integers are >= 32 bits long).
For a compiler with 16-bit integers, I could use "#define int long", but
I would still have to be very careful in 'printf' formats, and casting
of function values.
Please send e-mail. I will post a summary if I get a/some positive
response. Thanks.
UUCP: {ihnp4|allegra|utzoo|utcsri}!watmath!watdaisy!gsschaffergsschaffer@watdaisy.UUCP (Greg Schaffer) (06/13/86)
<Thanks to all those who responded>
The responses would indicate that there are two C compilers available
for the ST which use 32-bit integers (int). These are:
Lattice C:
I have not heard any complaints about the compiler itself. Complaints are
with the linker. The compiler can produce code files too big for the
linker. Externals (symbols) are converted to upper case. There are bugs in
libraries (strncpy mentioned). The linker is slow and obnoxious. But it
can be interfaced with the DRI loader (if one has it)
Hippo C:
It has 32-bit integers - nothing else good was said!
I will probably get the Lattice C soon - and hope for the best.
UUCP: {ihnp4|allegra|utzoo|utcsri}!watmath!watdaisy!gsschaffer
--
UUCP: {ihnp4|allegra|utzoo|utcsri}!watmath!watdaisy!gsschaffer