-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Gambit-C 4.0 beta 20 is now available. The source tarball is here:
<http://www.iro.umontreal.ca/~gambit/download/gambit/4.0/source/ gambc-4.0b20.tar.gz>
A prebuilt installation for Microsoft Windows is available here:
<http://www.iro.umontreal.ca/~gambit/download/gambit/4.0/prebuilt/ gambc-4.0b20-win.zip>
Just unzip it in C: to get C:\Gambit-C\4.0b20, then add C:\Gambit-C\4.0b20\bin to your path.
Here are the highlights of this release:
- The mutation procedures (set-car!, set-cdr!, vector-set!, string-set!, etc) now check that the object is mutable (not a constant). For example:
Gambit Version 4.0 beta 20
> (define x (symbol->string 'hello)) > (string-set! x 0 #\m) *** ERROR IN (console)@2.1 -- (Argument 1) MUTABLE object expected (string-set! "hello" 0 #\m)
- The compiler, gsc, now produces dynamically loadable object files by default. The -dynamic flag is thus optional. To generate a link file (which used to be the default) you must use the -link option.
- The GCC compilation options used for Gambit have been updated to improve the code generation (execution time is 5% to 30% faster than before). The set of compilation options was obtained by a genetic algorithm.
- The --enable-gcc-opts configure option has been added. It enables some expensive GCC optimizations (the build time more than doubles and you need lots of RAM, i.e. 2 gigabytes or more).
- Minor bug fix in the reader which treated #\ 123 as a syntax error instead of #\space followed by 123.
- The runtime source code (in C) has been reorganized to be able to build Gambit on systems that are neither POSIX or WIN32. In this case the Gambit runtime will not include functionality such as networking, processes, and preemptive multithreading. It will use (blocking) stdio to do all I/O (presumably nearly all platforms, even embedded systems, have some library for stdio even if it is just a minimal functionality such as directing stdin/stdout to a serial port).
Marc
Afficher les réponses par date
On Oct 6, 2006, at 10:52 AM, Marc Feeley wrote:
Gambit-C 4.0 beta 20 is now available.
Thanks, Marc!
- The --enable-gcc-opts configure option has been added. It enables some expensive GCC optimizations (the build time more than doubles and you need lots of RAM, i.e. 2 gigabytes or more).
Yeah, on MacOS 10.4.7 with the latest Apple-provided gcc you can't use this option with "-mcpu=970 -m64', because gcc requires more than 2GB of memory to compile even _num.c
Brad
On Oct 6, 2006, at 10:52 AM, Marc Feeley wrote:
Gambit-C 4.0 beta 20 is now available.
Thanks, Marc!
- The --enable-gcc-opts configure option has been added. It enables some expensive GCC optimizations (the build time more than doubles and you need lots of RAM, i.e. 2 gigabytes or more).
Yeah, on MacOS 10.4.7 with the latest Apple-provided gcc you can't use this option with "-mcpu=970 -m64', because gcc requires more than 2GB of memory to compile even _num.c
Brad