Description
The linker is responsible to solve the referencement of labels, and eventually append library source codes to the build process.
To disable the automatic inclusion of 'header.s' and 'tail.s', just modify your OSDK_CONFIG.BAT file, and add the following:
SET OSDKLINK=-B
Switches
The -d defines the location of the library files. It must be followed by a path:
-d /usr/oric/lib/
The -s defines the location of the sources files. It must be followed by a path:
-s /sources/oric/demo/
The -o defines the name of the outputed file. It must be followed by the file name. By default the output name will be 'go.s':
-o final.s
The -l switch prints out defined labels.Usefull when building lib index files.
The -v switch activates the verbose mode.
The -q switch enables the quiet mode.
The -b switch disables the automatic inclusion of 'header.s' and 'tail.s
The -f inserts a #file directives before each linked file.
Historic
Here is the list of all releases with a short description of things that changed:
Version 0.67
- Error messages now indicate that they came from the Linker, because a generic "Error, can't load xxxx" was not very informativeVersion 0.66
- The new macro file generate lines that contain multiple instructions, the linker stopped at the first encountered instruction, this new version correctly parses thatVersion 0.65
- Fixed some issues in the token pattern matching used to detect labels resulting in #includes containing relative paths to be incorrectly parsedVersion 0.64
- Fixed the age old problem if includes from assembler sources leading to Unresolved External errorsVersion 0.63
Fixed a number of issues in the linker:Version 0.059
- Corrected a bug that made it impossible to "link" only one source fileVersion 0.058
- Added filtering of all '#' directivesVersion 0.057
- Added '-B' option to suppress inclusion of HEADER and TAILVersion 0.056
- Handling of lines that have more than 180 charactersBefore that...
- This program was created and maintained by somebody else :)