Chapter 15: Microtec Language Tools Used With MC68040 Emulators
Using Microtec Language Tools
Local symbols
ld68k provides local symbols in absolute file by default, but lnk68k does not. The
command line flag -fi and option -H also set the d flag, which will cause lnk68k to
generate local symbols.
Support files
ld68k and lnk68k have different default locations and environment variables used
to locate linker command files and libraries.
Librarian defaults
ar68k uses .a as the default library suffix. lib68k uses .lib as the default library
suffix.
The Microtec MCC68K compiler
mcc68k is very different from cc68k. Study the Microtec documentation if you
need specific information about mcc68k.
To get db68k to work with mcc68k output, you need to add the following to your
.profile:
HP64_DEBUG_PATH= <path to source files>
export HP64_DEBUG_PATH
If this is not done, the debugger cannot find the high-level "C" source files.
582