Suyog,
For info on creating an executable from SBCL: =
http://technologyisart.blogspot.com/2007/07/creating-executable-from-sbcl.=
html
FASL files are just compiled code, think of it as C's object files.
The problem you're running into when compiling "xyz.lisp" is that a =20
dependency of that file has not been loaded.
Try running this before compiling it:
(require 'bootstrap "/path/to/it")
The manual is here: http://www.sbcl.org/manual/
For learning Lisp, check out Practical Common Lisp, freely available =20
here: http://gigamonkeys.com/book/
Take care,
Matt
On Jan 18, 2008, at 8:58 AM, Suyog Raut wrote:
> Hello Guys,
>
> I have just got assigned on project where I have to use once Lisp-to-=20=
> C translator and convert lisp code to C code. This process currently =20=
> results into many failures.
> My objective is to fix these failures in translator or lisp code in =20=
> 4 weeks(1 week is gone) .
> I am a C programmer and have absolutely no knowledge about LISP. =20
> It=92s been only a week that I started looking at LISP.
>
> I am trying to know some basic things such as how =93.fasl=94 files =
get =20
> written. And how does any executable file gets created based on =20
> those =93.fasl=94 files.
> What I have is bunch of 50-60 files. If I load one =93xyz.lisp=94 , it =
=20
> gives me options for compiling or recompiling. If I choose to =20
> compile, it gets halted at some point
> Where it throws some error such as follows:
> ------------------------------------------------------
>
> debugger invoked on a COMMON-LISP:SIMPLE-ERROR in thread #<THREAD =20
> "initial thread"Unknown macro: {B153569}
> >: Cannot load BOOTSTRAP module -- no object file ("/data/branch/=20
> src/lisp/abc-dev/bootstrap.fasl").
> -------------------------------
> I am using SBCL 1.0.12 on Linux, x86.
>
> Can someone tell me how to start on finding the roots of the error =20
> mentioned above?
> Also, can anyone suggest me any link or online manual on SBCL to =20
> learn these things quickly.
>
> -Suyog
>
>
>
> =
-------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> =
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/___________________=
____________________________
> Sbcl-help mailing list
> Sbcl-help@...
> https://lists.sourceforge.net/lists/listinfo/sbcl-help
|