Intermec Janus 2020 Reference Manual - Linking
Working With Ada
2-9
2
Linking
You use a Microsoft LINK.EXE program to link your Ada program with the
IM20_ADA.LIB object library file. The Janus/Ada compiler does not include
a linking program. The Microsoft C/C
++
linkers are the only linkers certified
to work with Intermec Ada. The Microsoft QuickBasic, Visual Basic, Visual
C, and MASM linkers have not been tested, but may link your object files
successfully.
To link your Ada program
1. If your linker is not in your path, change to the directory containing
LINK.EXE.
2. Create a response file, progname.RSP, for linking. The response file
consists of the following four lines:
progname.OBJ
progname
(a blank line)
C:\INTERMEC\ADA\IM20_ADA.LIB
where:
the first line lists the program object file, including the path.
the second line lists only the executable filename with no extension.
the third line is left blank.
the fourth line lists the library files, including the path.
3. Link your program from DOS:
LINK /NOE @
progname.RSP
4. Copy your program to the reader. Refer to your JANUS user’s manual
for complete copying instructions.