Compiling The Source File; Linking The Object File; Locating The Link File; Creating A Submit File - Intel l2ICE User Manual

Integrated instrumentation and in-circuit emulation system
Table of Contents

Advertisement

Call the file cmaker.SRC and write it on the disk mounted on drive 0. The file's pathname is
:FO:cmaker.SRC.

Compiling the Source File

This example assumes that the Pascal compiler is on disk drive 1 of a Series III development
system and that the source file is on disk drive 0. The resulting object file is on disk drive 0.
-RUN :F1 :PASC86 cmaker.SRC DEBUG XREF
SERIES-III Pascal-fib-. Vx-y
PARSE (0) - , ANALYZE (□) • , XREF - , OBJECT

Linking the Object File

This example assumes that the linker, library files, and resulting link file are on disk drive 1.
-RUN :F1 :LINK86 cmaker.OBJ, :F1:P86RN0.LIB, :F1:P86RN1.LIB, &
> >:F1:EH87.L1B, :F1;E8087.LIB, :F1:18087, :F1 :RTNULL.LIB &
> >to cmaker.LNK
SERIES III

Locating the Link File

This example assumes that the locater, linker, run-time library, and source file are on disk drive
1. Note that the PICE system does not accept load-time-locatable code.
-RUN :F1:LOC86 cmaker.LNK TO emaker.86
SERIES III LOCATER-, Vx-y

Creating a SUBMIT File

The following submit file named lnkloc links and locates an object file and assumes that the
linker, the run-time library files, and the locater are on disk drive 1 and that the object file is on
disk drive 0. Execute the submit file by entering the SUBMIT command. Note that the %0
parameter passes the root name of the object file named cmaker.
RUN
:F I :L I N K 6 L 7 0.OBJ-,&
: F I : LOCAL 7.0 . LNK TO 7.0-T01
EXIT
Introduction to Using the PICE™ System
COMPILATION OF cmaker COMPLETED-, 0 ERRORS DETECTED
END OF PASCAL-fiL COMPILATION
LINKER-, Vx-y
f l o a t
: F I : PflLRNO • L I B - > : F I : PflLRNl • LIB-, &
: F I : EHfi? • LIB - > : F I : EflOfl? . L I B , : F I : EflOfl?- , &
: F I : RTNULL • LIB TO 7.0-LNK
3-27

Advertisement

Table of Contents
loading

Table of Contents