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:
gcl
>(load "hello.o")
>(si::save-system "hello")
./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 ·······@16.
>
> I tried further stuff like defining Main.c as follows:
> #include <stdio.h>
> main()
> {
> puts("hello from main.c");
> }
> which eliminates the ·······@16 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 ····@enhanced.com
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah