[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gcl-devel] re: GCL - WTF?

From: Camm Maguire
Subject: [Gcl-devel] re: GCL - WTF?
Date: 05 Oct 2004 21:17:31 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

The following message is a courtesy copy of an article
that has been posted to comp.lang.lisp as well.

Greetings, and thanks for your interest in GCL!

gcl -compile hello.lisp
gcl -batch -load hello.o

or, if your hello.o redefines its own si::top-level function:

>(load "hello.o")
>(si::save-system "hello")


Please let me know if problems persist.

I suppose you know about gcl-si.texi?

Take care,

> I installed
> gcl_2.6.5.mingw32_ansi_japi_20040818.exe
> to directory
> c:\packages
> I created the file hello.lisp:
> (print "hello world")
> and set up the following path in autoexec.bat:
> set path=C:\packages\GCL-2.6.5-ANSI\bin;%path%
> To compile, I issue the command:
> gcl -compile hello.lisp
> and it creates a file called hello.o.
> When I then issue the command
> C:\packages\GCL-2.6.5-ANSI\mingw\bin\gcc hello.o
> I get errors regrading undefined references to do_init and address@hidden
> I tried further stuff like defining Main.c as follows:
> #include <stdio.h>
> main()
> {
>    puts("hello from main.c");
> }
> which eliminates the address@hidden but not the do_init.
> I tried other stuff as well, like creating the c (what a whopper!) and 
> header files, but it didn't really help.
> So my question is, basically: "what's going on?"
> The documentation seems fairly sparse on these kinds of beginners 
> basics. Especially for a total lisp noob like me.
Camm Maguire                                            address@hidden
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]