[gambit-list] Gambit on LLVM uploaded to Dumping Grounds

Harold Ancell hga at ancell-ent.com
Sun Sep 20 13:09:31 EDT 2009


I've uploaded the experimental partial back-end for Gambit
using LLVM by Arnaud Bergeron and Mathieu Larose to the
Dumping Grounds:

http://dynamo.iro.umontreal.ca/~gambit/wiki/index.php/Dumping_Grounds#Language

or http://tinyurl.com/mcae7x

This is the README file:

  This is an experimental partial back-end for Gambit using LLVM.  It
  does not compile regular scheme because it does not implement most
  primitives and types.

  It was developed with version 2.3 of LLVM and was tested on a 32-bit
  PPC.  It should work on anything 32-bits.  To make it work on 64-bits,
  all that should be required is to modify the lib/llvm_base32.ll file.

  Add this to a bootstrapped gambit source, since all the .scm files
  need to be compiled to C.  The runtime part does not auto-compile
  itself, you have to do that manually, as well as linking to it.

  At the bottom of the file gsc/_t-llvm.scm are instructions on how to
  compile a file using the new backend.

  (The above text was compiled from emails by Arnaud Bergeron to the
  Gambit mailing list and myself (Harold Ancell).)

Enjoy.

					- Harold




More information about the Gambit-list mailing list