What are the common problems encountered when porting UNIX source to GNO? A#9.2: The first thing to watch for is known compiler and library bugs.
Soenke Behrens maintains the current ORCA/C bug report list. You should keep the contents of this list in mind when examining the target source code. The ORCA/C bug report list may be found at http://www.arrowweb.com/sbehrens/obugs.htm This list has been considerably shorted since the release of ORCA/C v2.1.0. If you have an earlier version of ORCA/C, you should seriously consider an upgrade. The following items should be watched for, in no particular order. Since UNIX source is usually in C, that language is assumed for the rest of this section, where relevant: sizeof(int) The size of the type “int” is implementation-defined. While most modern C compilers use 32 bits, ORCA/C still uses 16 bits since this is the “natural” integer size of the 65816. This also results in more effective code generation. While the size of an int shouldn’t make a difference to any well-written code, there is some available source code that assumes that ints are 32 bits.
Related Questions
- What are the common problems encountered when porting UNIX source to GNO? A#9.2: The first thing to watch for is known compiler and library bugs.
- What are some common problems encountered on the IBC form that would delay IBC approval?
- Are there common problems encountered when porting software to Cygwin/X?