Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!apple!joemac From: joemac@Apple.COM (Joe MacDougald) Newsgroups: comp.sys.mac.programmer Subject: Re: Allegro CL <-> MPW C/C++ Keywords: Allegro Common Lisp, C++ Message-ID: <5870@internal.Apple.COM> Date: 19 Dec 89 20:59:13 GMT References: <2271@accuvax.nwu.edu> Distribution: usa Organization: Apple Computer Inc, Cupertino, CA Lines: 18 One problem is that C++ encrypts (mangles) the function entry point to include information about scope and parameter type (type-safe linking). You need to define external entries to the library with: extern "C" { int foo(); int bar(); // ... } This tells cfront not to encrypt those entries (they have C linkage). As far as the Object file format not being recognized, well, I can't tell you much about that. --joe