Newsgroups: comp.lang.scheme
Path: cantaloupe.srv.cs.cmu.edu!rochester!udel!news.mathworks.com!news.kei.com!newsfeed.internetmci.com!in1.uu.net!metropolis!pcolsen
From: pcolsen@super.org (Peter C Olsen)
Subject: Need Help Compiling SCM to C with Hobbit 
Message-ID: <1996Jun10.225440.2878@super.org>
Sender: news@super.org (USENET News System)
Nntp-Posting-Host: hume
Organization: Supercomputing Research Center, Bowie, MD
Date: Mon, 10 Jun 1996 22:54:40 GMT
Lines: 29

I'm looking for help in using the Hobbit compiler to compile SCM
source code to C.  

I'm working on a fairly large software development project.  I would
like to program in scheme (or, as a second choice, lisp).
Unfortunately, I haven't found a scheme or lisp implementation that
will run fast enough to meet my requirements.  I thought I'd finally
found the solution when I heard of the Hobbit compiler for SCM.  I
planned to prototype the software under the SCM interpreter, then
compile it to C with Hobbit and then to machine code with gcc.

Unfortunately, I can't get the translated and compiled C code to link.
I've read the documentation with SCM, SLIB, and Hobbit, but things
still don't work.  The function "link-named-scheme" seems to want more
modules than just the one compiled for the project (because otherwise
the linker can't finish), but I can't seem to find which *.o files are
required.  I seem either to get (1) missing functions or (2) doubly
defined ones.

Has anyone figured out how to do this successfully?  My alternative is
to write the programs in C.  This will be much less elegant, but time
is running out.

Peter
-- 
   Peter Olsen, n2ell, pcolsen@super.super.org  ...!uunet!super!pcolsen
         P.O. Box 410, Simpsonville, MD 21150-0410; 410-997-8584
     "Engineering is the art of applying a professional knowledge of
   mathematics and the physical sciences to improve the quality of life"
