Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!usc!sdd.hp.com!spool.mu.edu!uunet!parcplace!parcplace.com!khaw From: khaw@parcplace.com (Mike Khaw) Newsgroups: comp.lang.smalltalk Subject: Re: extending Smalltalk with C (was Re: using lex/yacc with smalltalk ?) Message-ID: Date: 11 Mar 91 19:12:23 GMT References: <1100@eba.eb.ele.tue.nl> <2157@media01.UUCP> Sender: news@parcplace.com Lines: 24 In <2157@media01.UUCP> pkr@media01.UUCP (Peter Kriens) writes: >... Using Digitalk V286, >it is not a very hard problem. You can use almost any C compiler and some >assembly glue to connect Smalltalk and your C subsystem. For Smalltalk 80, it >is a bit harder. You need the phar lap dos extender tools and a Watcom >or NDP compiler, I think. For Smalltalk V on the mac it is very easy, you just Depends on the version. For pre-Windows Smalltalk-80, you need the PharLap DOS extender and Metaware High-C. For Windows versions, you need only the MetaWare High-C compiler and PharLap's 386LINK linker. And you don't need "assembly glue" for most purposes. On a Mac, you need MPW 3.1 C. The fileset includes a sample "userprim VM" that extends Smalltalk with C functions, and the auxiliary files to build it (makefiles for Unix, an MPW project for the Mac and a .LNK file for DOS). The manual has additional examples and describes the interface functions between C and Smalltalk (which we provide). -- Mike Khaw ParcPlace Systems, Inc., 1550 Plymouth St., Mountain View, CA 94043 Domain=khaw@parcplace.com, UUCP=...!{uunet,sun,decwrl}!parcplace!khaw