Download Practical and Theoretical Aspects of Forth Software Development

Transcript
Practical and Theoretical Aspects of Forth Software Development: Mixed Languages Interface
140
tcc -c -ms -G -d -r- cfinit
tlib cforth /C -+cfasm -+cfinit
rem *** Compile the overlay CFORTH1.C ***
tcc -c -ms -G -d cforth1
rem *** Link with the Small libraries ***
tlink /x \tc\lib\c0s cforth1, cforth1.ovl, cforth, cforth \tc\lib\maths
\tc\lib\emu \tc\lib\graphics \tc\lib\cs
This batch le diers from the previous only in that it compiles both the CFINIT module and the CFORTH1
user module using the small memory model. It also links the system together with the standard small
libraries (c0s, maths and cs as opposed to c0l, mathl and cl).