[plt-scheme] Re: Storage of PlaneT packages

From: Jon Rafkind (workmin at ccs.neu.edu)
Date: Sun Aug 19 18:40:01 EDT 2007

Matthew Flatt wrote:
> At Sun, 19 Aug 2007 18:20:00 -0400 (EDT), Jonathan I Rafkind wrote:
>   
>>>> Thanks for all the replies. Followup question - when I distribute an
>>>> application written in PLT, how can I attach all the PlaneT packages
>>>> it uses?
>>>>         
>>> The easiest way is to use DrScheme's "Create Executable" menu item or
>>> `mzc --exe' plus `mzc --exe-dir'. Either way, the bytecode for all used
>>> libraries is included in the resulting distribution package.
>>>       
>> FYI, I had to use some extra options to collect native libaries due to some 
>> path issue. See the bottom of the FAQ for the Allegro planet module.
>>
>> http://www.rafkind.com/jon/allegro-scheme/docs/2/2/allegro-Z-H-
>> 9.html#node_chap_8
>>     
>
> Did you try the (relatively new) "runtime-path.ss" library?
>
> You should be able to refer to "native" in "mygame.ss" (or something
> that it requires), and then the "native" directory should get pulled
> along automatically.
>
>   
Looks like thats just what I needed. I'll look into it.


Posted on the users mailing list.