Chapter 3: Loading and Executing Programs
Compiling Programs for the Debugger
You should be aware of these differences between asm68k and as68k:
Command-line syntax. The differences are minor. See the on-line man
pages for a description of the command-line options.
Case sensitivity. as68k is case sensitive by default, asm68k is not. Use the
command line flag "-fcase" to make asm68k case sensitive.
Symbols in HP-MRI IEEE-695 files. The HP assembler places local
symbols in the output object file by default, asm68k does not. Use the
command line flag "-fd' with asm68k to generate local symbols.
The HP assembler places global symbols in the debug part by default. There is
no way to do this with Microtec's asm68k. This information is needed to
correctly scope symbols. Thus you will find that some symbols may be
incorrectly scoped with the Microtec assembler.
You should be aware of these differences between lnk68k and ld68k:
Output file format. ld68k produces HP-MRI IEEE-695 by default. lnk68k
products Motorola S-Records by default. To generate an HP-MRI IEEE-695
(.x) format absolute file, use the -H command line option or -fi flag.
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.
ar68k uses .a as the default library suffix. lib68k uses .lib as the default library