[Aldor-l] Portability
pip88nl at gmail.com
pip88nl at gmail.com
Sat Aug 16 17:27:46 EDT 2008
I believe the documentation imposes the following two constraints on
datatype sizes:
1. sizeof (long) > sizeof (int)
or sizeof (long) == sizeof (int) and sizeof (int) > sizeof (int)
2. sizeof (char *) == sizeof (short)
or sizeof (char *) == sizeof (long)
This means that:
- sizeof (long) >= 2
- sizeof (int) >= 1
- sizeof (short) >= 1
- sizeof (char *) >= 1 (may be 1 in medium and smaller memory models)
Are these really all the constraints I have? I *need* some test machines
for this stuff :-\. Aldor's code seems to want to be almost as portable
as C itself. That's funny, because it doesn't even run on FreeBSD :(. I
don't want to remove the current portability, though. At this point, I
just want to remove obsolete compiler-brokenness-checks.
Pippijn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://aldor.org/pipermail/aldor-l_aldor.org/attachments/20080816/adc3a02d/attachment.bin
More information about the Aldor-l
mailing list