Xref: utzoo comp.sys.sgi:4996 comp.lang.lisp:3441 Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!purdue!avr From: avr@cs.purdue.EDU (Andrew V. Royappa) Newsgroups: comp.sys.sgi,comp.lang.lisp Subject: calling C from Lisp in AKCL on a Personal Iris Message-ID: <11198@medusa.cs.purdue.edu> Date: 24 Jul 90 21:42:10 GMT Followup-To: comp.sys.sgi Distribution: usa Organization: Department of Computer Science, Purdue University Lines: 23 Another story in the saga of portability.. My Lisp application calls a C univariate root-finder. The application works under AKCL or Lucid on sun4s/sparcs, but not under AKCL on an SGI Personal Iris. Under AKCL, I do: (defentry c-realroots (int string) (string "CRealRoots")) where CRealRoots is a C function that takes an integer representing the degree of a polynomial, and a string encoding its coefficients, and returns a string encoding the coefficients. This is all standard KCL; but it fails on a personal iris (AKCL v. 1.313). Does anyone know the correct way of compiling and loading in C code into a running AKCL on a Personal Iris ? Thank you very much, Andrew V. Royappa avr@purdue.edu {pur-ee,ucbvax,decvax}!purdue!avr