> > Then it seems very unlikely you will have to rewrite the > whole thing. At worst, you will probably have to fix > little-endian assumptions; you're in luck in that the word > size will not change. So mostly it'll be a matter of making > sure that your data type definitions match up, and then > finding and eliminating places where it's assumed data is > stored in little-endian rather than big-endian byte order. > In any case, it should be far short of a complete rewrite. > One of the problems I've run into with porting deals with the long data type. It sems that some "older" code assumed it was 32-bits and finding these assumptions can be rather tedious.
Leland