[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Incompatibility between PCL and (save-application)???
- To: rstarsean%xray.decnet@mghccc.harvard.edu
- Subject: Incompatibility between PCL and (save-application)???
- From: alms@cambridge.apple.com (Andrew L. M. Shalit)
- Date: Fri, 30 Mar 90 18:11:09 EST
- Cc: info-macl
- In-reply-to: "XRAY::RSTARSEAN"'s message of 30 Mar 90 17:48:00 EST <9003302301.AA17641.rstarsean%xray.decnet@mghccc.harvard.edu@cambridge.apple.com>
From: "XRAY::RSTARSEAN" <rstarsean%xray.decnet@mghccc.harvard.edu>
Greetings!
I've run into a problem using PCL (Rainy Day, with patches thru 3/10 or so)
with MACL's standalone application generator. It appears that it is not
possible to use PCL from the generated application.
My guess is that PCL calls the compiler at run-time to compile
effective methods which haven't already been compiled and cached. The
compiler isn't available in stand-alone applications.
(make-simple-lock "x")
> ERROR: NIL can't be FUNCALLed or APPLYed.
> While executing: UPDATE-TO-CHECKING-DFUN
If you call an expurgated function in a stand-alone application,
it ignores its args and simply returns NIL. Looks like that's
whats happening here.
I'm not too familiar with PCL, but you might be able to run
the application for a while (before calling SAVE-APPLICATION).
This would get all the effective methods computed and cached.
Then call SAVE-APPLICATION. Of course, if you miss just one
effective method, you'll lose at run time.
-andrew