Source-code compatibility

This is an old revision of this page, as edited by Rich Farmbrough (talk | contribs) at 04:18, 3 November 2009 (clean up using AWB). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In computing, a computer that can run the same source code intended to be compiled and run on another computer is said to be source-compatible.

The source code must be compiled before running, unless the computers can work as Interpreters (this is the case of a few bytecode processors). Confusingly, sometimes the term is used for assembly language compatibility, where the source is already human-readable machine code but must be converted to executable code by an assembler. This is different from binary code compatibility, where no recompilation is needed.

Source-compatibility is a major issue in the developing of computer programs. For example, most Unix systems are source compatible, as long as one uses only standard libraries. Microsoft Windows systems are source compatible across one major family (NT, 2000, XP or 95, 98, ME), with partial source compatibility between the two families.

See also