[plt-scheme] mzc's ++ldf flag

From: Jakub Piotr Cłapa (jpc at pld-linux.org)
Date: Sun Nov 26 04:33:04 EST 2006

Matthew Flatt wrote:
>> The libusb is loaded by means of foreign.ss which fails to load IOKit
>> automaticaly so I tried to link it by hand in hope it will find the
>> symbols.
> I think you'll need to use
>   (ffi-lib "/System/Library/Frameworks/IOKit.framework/IOKit")
> to get a handle to the IOKit library, indendent of whether you build a
> stand-alone executable with `mzc --exe'.

I had that when I played in mzscheme and finally settled with that in 
the exe too. Now the thing doesn't work in Windows but that's another 
story. ;-)

Thanks for the reply. :-)

Jakub Piotr Cłapa

Posted on the users mailing list.