Compiler and Assembler support
OSLib supports several compilers and assemblers:
- Acorn C/C++ compiler
-
Sometimes also known as the Norcroft C compiler, and Acorn Assembler. Used to be sold by Acorn Computers Ltd. directly, later by Castle Technology Ltd. and is now sold by RISC OS Open Ltd. as part of their Desktop Development Environment product.
This product only supports the AOF (Acorn Object Format) format. There is AOF support in all OSLib releases.
Acorn C++ users (via CFront) need to be aware of following __swi problem.
- GCCSDK GCC version 3.4.x
-
GCC, the GNU Compiler Collection freely available as RISC OS port and as cross-compiler for non-RISC OS platforms.
As assembler, As (predecessor of AsAsm) is used.
This product only supports the AOF (Acorn Object Format) format. There is AOF support in all OSLib releases.
- GCCSDK GCC version 4.x
-
GCC, the GNU Compiler Collection freely available as RISC OS port and as cross-compiler for non-RISC OS platforms.
As assembler, GNU assembler (part of GNU Binutils) is used. There is a second assembler provided as well; AsAsm (ObjAsm compatible assembler).
This product only supports the ELF (Executable and Linkable Format) format. There is ELF support in OSLib 7.00 and later releases.
As one exception, AsAsm is able to output AOF and ELF. So depending on the output format you are going to use for AsAsm, you need an AOF or ELF release of OSLib.