[Aldor-l] Portability

Stephen Watt watt at scl.csd.uwo.ca
Sat Aug 16 19:03:23 EDT 2008


THis is good what you are doing.   Aldor used to run on FreeBSD about
10 years ago, but the port was not kept current.   What is not working
now?    -- Stephen

2008/8/16  <pip88nl at gmail.com>:
> 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
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFIp0ZSJc+zqGNdDgoRAqKhAJ996YKQKXMrNYpM7g7rTNQebRP9qwCg2JPe
> dnzZ0fNFaHObvcYqZZst/tA=
> =9EJb
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Aldor-l mailing list
> Aldor-l at aldor.org
> http://aldor.org/mailman/listinfo/aldor-l_aldor.org
>
>




More information about the Aldor-l mailing list