[M3devel] packing problem… how exactly does modula-3 pack data into records??

Dragiša Durić dragisha at m3w.org
Thu Jan 19 23:51:34 CET 2012


back in 1997-8 I did an LINUXALPHA port of pm3.

All portability problems I met were in C. And biggie was with gcc and its inability (at the moment) to cross compile on 32bit platform for 64bit RISC (lots and lots of registers on target machine).

So, speaking about C and portability... No such thing.

Your m3core.h work is great, by the way. I do a lot of low level stuff and it helps a lot. Thanks! :)

On Jan 19, 2012, at 11:42 PM, Jay K wrote:

> (then again -- endian-knowledge can be used to make ntohl/htonl highly optimized.)
> 
> 
> I know it's a little wierd what I say -- C is impelementation-dependent and we try
> to be C compatible. And m3core/libm3 used to have some dependency
> on this C compatibility, e.g. the waitpid stuff. But I believe I removed all
> such dependency.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20120119/213bf6e7/attachment-0002.html>


More information about the M3devel mailing list