Linker file

Topics related to the use of Oberon language features
Posts: 16
Joined: Tue Jul 21, 2015 6:49 am

Linker file

Post by anitasure123 » Fri Oct 16, 2015 9:25 am

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.


Site Admin
Posts: 464
Joined: Fri Dec 31, 2010 12:30 pm

Re: Linker file

Post by cfbsoftware » Fri Oct 16, 2015 11:39 am

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 the paper titled An Oberon Compiler for the ARM Processor. You can download a copy from the Oberon page of Prof Niklaus Wirth's website