[plt-scheme] Re: Storage of PlaneT packages

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Sun Aug 19 18:29:37 EDT 2007

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.

Matthew



Posted on the users mailing list.