How to specify additional library search paths?

Mar 8, 2009 at 4:48 PM
When running from the command line, how do you specify additional library search paths?

I want to add "C:\collects" for example.
Coordinator
Mar 8, 2009 at 6:09 PM
(library-path (cons "." (library-path))) at the REPL.
I will make a commandline switch in the future.
Cheers
leppie
Mar 8, 2009 at 7:20 PM
Hi Leppie,

That would be great as that is how I run batch mode programs.
Coordinator
Mar 8, 2009 at 8:28 PM
----- Original Message -----
From: grettke
Hi Leppie,

That would be great as that is how I run batch mode programs.
Ok, I add a -I command line option, specify as many as you need. :)
In Changeset 25837
Cheers
leppie
Mar 9, 2009 at 2:45 AM
Thanks!

What is the easiest way to prepare a distribution from the build?

I built it already.
Coordinator
Mar 9, 2009 at 5:40 AM
Thanks!

What is the easiest way to prepare a distribution from the build?

I built it already.
No problem :) The facility was there already, just had to add a a few lines :)
Just do a Release build, then go to the IronSchemeConsole/bin/Release/ directory. You can make a setup file with the .nsi file using NSIS. For the zip, I normally just create it directly from the install version minus the .fasl files.
Cheers
leppie
Mar 9, 2009 at 2:11 PM
Simple. Brilliant. Thanks Leppie!
Coordinator
Mar 9, 2009 at 3:26 PM
Just to add, as a barebones R6RS Scheme, you only need to following files:
  • Microsoft.Scripting.dll
  • IronScheme.dll
  • IronScheme.Closures.dll
  • ironscheme.boot.dll
  • IronScheme.Console.exe (if not embedding)
Cheers

leppie