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:
The -d defines the location of the library files. It must be followed by a path:
The -s defines the location of the sources files. It must be followed by a path:
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':
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.
No known problem - please signal any issue on the Cross development tools forum.
Fixed in 1
Details: If you include files that define labels (ex: the loader data table) the linker will generally ignore them and throw a undefined externals symbols error.
Fixed in 1
Details: While working on Telemon, found out that it was impossible to link a module containing #include "../oric-common/include/asm/telemon.h"
comments powered by Disqus