Technical Notes Database TN73D.txt LINKING .OBJ OBJECT FILES FROM OTHER ASSEMBLERS Category :Pascal Platform :All Product :Turbo Pascal 4.0+ Description: Q. Will the $L compiler directive work for compiler object files other than assembler? A. That depends on the language. TURBO requires all the code in the .OBJ to be in *one* CODE segment, and all the data to be in *one* DATA segment. With assembly language that's easy, but it may not work with some high-level language compilers. You can use Turbo C to generate .OBJ files for use by Turbo Pascal programs. An example, CPASDEMO.PAS is included on the distribution disks. Reference: 7/16/98 4:35:29 PM
Last Modified: 01-SEP-99