home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zephyr.ens.tek.com!uw-beaver!news.u.washington.edu!usenet.coe.montana.edu!caen!sdd.hp.com!elroy.jpl.nasa.gov!ames!data.nas.nasa.gov!taligent!apple!cambridge.apple.com!djskrien@COLBY.EDU
- From: djskrien@COLBY.EDU (Dale Skrien)
- Newsgroups: comp.lang.lisp.mcl
- Subject: Re: Interfacing to I/O boards
- Message-ID: <9208251217.AA18348@host4.COLBY.EDU>
- Date: 25 Aug 92 08:21:14 GMT
- Sender: info-mcl-request@cambridge.apple.com
- Lines: 21
- Approved: comp.lang.lisp.mcl@Cambridge.Apple.C0M
- Original-To: info-mcl@cambridge.apple.com
-
- >John Doleac wrote, in a message dated Wed, 12 Aug 1992 15:19-0400
- >"I want to call C functions compiled using Symantec's Think C development
- >system.
- >...
- >The manual tells how to use foreign function calls for code
- >compiled by MPW. This does not work for Think C. Can anyone
- >recommend a way to overcome this problem?"
- >
- >I believe there are two workarounds:
- >1) If you have THINK Pascal, you can use it to create a library consisting of
- >just your THINK C project. THINK Pascal libraries are the same as MPW object
- >files, and can be used by MCL's FF loader.
- >2) There is a user contribution on the MCL 2.0 CD-ROM that seems to have
- >something to do with loading FF code directly from a THINK C project file. I
- >can't vouch for this, as I don't own THINK C, but it's worth a look.
- >
-
- A third method is to use CODE resources.
- I have used THINK Pascal to create functions which are then compiled by
- THINK into CODE resources. These resources can then be called from MCL by
- using ff-call. The same could be done in THINK C.
-