[plt-scheme] How do i make a native extension behave like a module?

From: Henrik Tramberend (henrik.tramberend at inform.fh-hannover.de)
Date: Thu Aug 19 11:45:37 EDT 2004

On 19. Aug 2004, at 14:14 Uhr, Noel Welsh wrote:

>> Is this the way to do it? If yes, how do i 'require' such a native 
>> module?
>
> I think the magic you seek is thus:
>
>    - compiled the extension to a shared object
>    - install it in (build-path dir "compiled" "native"
> (system-library-subpath))
>    - require it as if it was a normal module

Magic, indeed! But works perfectly. Thanks a lot.

Henrik




Posted on the users mailing list.