Write once, compile anywhere
Write once, compile anywhere (WOCA) is a design goal of a software technology where source code can be compiled on multiple platforms – without requiring platform-specific modifications to compile and behave correctly. The technology typically consists of a programming language plus compilers and software libraries or software framework ported to multiple environments that together provide cross-platform support.
WOCA differs from write once, run anywhere (WORA), a stated goal of the Java, in which cross-platform support relies on and is at the bytecode level. Other technologies such as .NET also use bytecode to achieve the same goal.