[gambit-list] Making UTF-8 the default for Gambit

Marc Feeley feeley at iro.umontreal.ca
Tue Aug 15 20:25:19 EDT 2017

I’ve just pushed a patch to allow specifying at configure-time the default runtime options.  For example

  ./configure --enable-default-runtime-options="f8,-8,t8"

Then running


will give the same result as

   gsi -:f8,-8,t8

This approach has the advantage that other runtime option defaults can be set, for example

  ./configure --enable-default-runtime-options="m10000"

will set the minimum heap size to 10MB by default.  Note that it is possible to override these defaults by giving explicit command line runtime options or using the GAMBOPT environment variable:

  gsi -:m5000


> On Jul 27, 2017, at 3:40 PM, Faré <fahree at gmail.com> wrote:
> Is it possible to build Gambit such that UTF-8 is the default for I/O?
> Or should it heed the LC_CTYPE or LC_ALL variable?
> I had a bug while compiling gerbil code that vyzo traced to
> disagreement between I/O options used by gambit and gerbil. The
> workaround was to export GAMBOPT=t8,f8,-8 rather than fight to
> propagate the proper options to gsc. I would like to build gambit with
> these options as the default, so I can distribute a version that works
> out of the box.
> —♯ƒ • François-René ÐVB Rideau •Reflection&Cybernethics• http://fare.tunes.org
> He wa'n't no common dog, he wa'n't no mongrel; he was a composite.
> A composite dog is a dog that is made up of all the valuable qualities
> that's in the dog breed — kind of a syndicate; and a mongrel is made up
> of all riffraff that's left over.  — Mark Twain
> _______________________________________________
> Gambit-list mailing list
> Gambit-list at iro.umontreal.ca
> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list

More information about the Gambit-list mailing list