[comp.lang.pascal] Linking Turbo Pascal 4.0 and Turbo C together

cww@mathvax.msi.cornell.EDU (Clarence Wilkerson) (04/20/88)

  I want to link the binary editor for the editor toolbox
in with a some code written in C. I'm willing to write a
shell in pascal, but how do I include the C stuff?

lowey@sask.UUCP (Kevin Lowey) (05/03/88)

In article <13040@brl-adm.ARPA>, 
  cww@mathvax.msi.cornell.EDU (Clarence Wilkerson) writes:
> 
>   I want to link the binary editor for the editor toolbox
> in with a some code written in C. I'm willing to write a
> shell in pascal, but how do I include the C stuff?

The Turbo Pascal 4.0 manuals describe this when discussing the {$L} compiler 
directive.  Basically, you create a C .OBJ file, then use the {$L} directive
to link this .OBJ file into your code.  Sorry I don't have more specifics
but my manual is at home.

Kevin Lowey