How to build 3.0 Unix VM with FFI working?
Ned Konz
ned at bike-nomad.com
Fri Mar 23 17:50:01 UTC 2001
On Friday 23 March 2001 08:36, Joshua Channing Gargus wrote:
> Does "FFITester testAll" work with the vm you built? I'm able to
> use the X11 FFI examples, but the above doensn't work for me. The
> problem seems to be that #testAll tries to find an external library
> to find its functions in; however, an external SqueakFFIPrims doesn't
> exist since I compiled it internally.
No, FFITester testAll doesn't work. It assumes an external library, as you
say.
> I'm not sure if this was clear. What I think happens is:
>
> 1) Squeak looks for SqueakFFIPrims first externally, and then internally
> when it is not found (this is to load the capability to call external
> libraries)
> 2) Squeak looks for SqueakFFIPrims again externally (this is to find the
> test* functions)
>
> When I try the X11 example, 2) is replaced by a search for libX11.so,
> which does exist externally.
>
> Does this sound about right?
Yes. What do you suggest? Have you had any luck building and running the FFI
stuff externally?
--
Ned Konz
currently: Stanwood, WA
email: ned at bike-nomad.com
homepage: http://bike-nomad.com
More information about the Squeak-dev
mailing list
|