🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #2582

Re: linking code generated by Lightspeed Pascal and Lightspeed C

#2582
From: Rich Siegel
Date: Tue, 08 Aug 1989 15:28
26 lines
1415 bytes
In article <877@umb.umb.edu> mescobr@umb.umb.edu (Martha L. Escobar) writes:
>Does anyone know how to link code written in Lightspeed Pascal to code
>written in Lightspeed C?

	If you're using LightspeedC 3.0 and Lightspeed Pascal 2.0, you can
build your C code as a library, and add it directly to a Lightspeed Pascal
project. Some restrictions apply: the routines written in C must be
declared "pascal", string or floating-point constants aren't supported,
and static or global initializations aren't supported.

Otherwise, it works; parts of Lightspeed Pascal were written with LightspeedC.

R.


~~~~~~~~~~~~~~~
 Rich Siegel
 Staff Software Developer
 Symantec Corporation, Language Products Group
 Internet: siegel@endor.harvard.edu
 UUCP: ..harvard!endor!siegel

"When it comes to my health, I think of my body as a temple - or at least
a moderately well-managed Presbyterian youth center." - Emo Phillips

~~~~~~~~~~~~~~~
Technical Details
Message-ID: <2396@husc6.harvard.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!att!ucbvax!husc6!endor!siegel
References: <877@umb.umb.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!att!ucbvax!husc6!endor!siegel
From: siegel@endor.harvard.edu (Rich Siegel)
Newsgroups: comp.sys.mac
Subject: Re: linking code generated by Lightspeed Pascal and Lightspeed C
Keywords: Pascal & C
Message-ID: <2396@husc6.harvard.edu>
Date: 8 Aug 89 15:28:19 GMT
References: <877@umb.umb.edu>
Sender: news@husc6.harvard.edu
Reply-To: siegel@endor.UUCP (Rich Siegel)
Organization: Symantec Language Products Group
Lines: 26