Page 1 of 1

Linker file

Posted: Fri Oct 16, 2015 9:25 am
by anitasure123
Hello there,
What is the linker file extension for Oberon language? If you have a sample of linker script, Please send the script. If this linker script matches with our target environment, we will move to premium version of Oberon.

regards
Anita

Re: Linker file

Posted: Fri Oct 16, 2015 11:39 am
by cfbsoftware
Astrobe doesn't need any 'linker scripts'. All the information necessary to link Oberon modules together is contained in the source code. i.e. the IMPORT statements and the items (constants, types, variables and procedures) marked for export. This information is stored in the object files (*.arm) when they are compiled. The process is documented in Chapter 24 Import and Export and Chapter 25 Loading and Linking of Prof Niklaus Wirth's paper titled An Oberon Compiler for the ARM Processor