[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gcl-devel] Re: GCL Error?
From: |
Camm Maguire |
Subject: |
[Gcl-devel] Re: GCL Error? |
Date: |
18 Aug 2003 11:34:29 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Greetings! At present, gcl must be invoked with its true filename.
This is usually accomplished with a shell script wrapper which is
customarily installed in /usr/bin/gcl. 'make install' should do this
for you, or you can make use of the precompiled Debian and/or Redhat
packages. The unexec routine must be able to open the old image
read-only when creating the new one -- a link will not suffice. So if
you were in unixport, and exectued ./saved_gcl, you'd be fine, or if
you use the standard wrapper, an example of which I'm including here,
all should be well. Please let me know if not.
=============================================================================
/usr/bin/gcl
=============================================================================
#!/bin/sh
export C_INCLUDE_PATH=/fix/s/camm//usr/lib/gcl-2.5.3/h:$C_INCLUDE_PATH
if [ "$GCL_ANSI" != "" ] ; then
exec /usr/lib/gcl-2.5.3/unixport/saved_ansi_gcl \
-dir /usr/lib/gcl-2.5.3/unixport/ \
-libdir /usr/lib/gcl-2.5.3/ \
-eval '(setq si::*allow-gzipped-file* t)' \
-eval '(setq si::*tk-library* "/usr/lib/tk8.3/../tk8.3")' \
-eval '(si::init-readline)' \
"$@"
else
exec /usr/lib/gcl-2.5.3/unixport/saved_gcl \
-dir /usr/lib/gcl-2.5.3/unixport/ \
-libdir /usr/lib/gcl-2.5.3/ \
-eval '(setq si::*allow-gzipped-file* t)' \
-eval '(setq si::*tk-library* "/usr/lib/tk8.3/../tk8.3")' \
-eval '(si::init-readline)' \
"$@"
fi
# other options: -load /tmp/foo.o -load jo.lsp -eval "(joe 3)"
=============================================================================
Take care,
"Warren A. Hunt Jr." <address@hidden> writes:
> Hi Camm,
>
> I make GCL with
>
> ./configure --enable-tkconfig=/usr/local/lib
> --enable-tclconfig=/usr/local/lib --enable-notify=no --disable-readline
>
> make gcl
>
> ln ~m/tools/gcl-2.5.2/unixport/saved_gcl ~/bin/gcl
>
> rehash
>
> and then a strange thing...
>
> elgin:~/m/tools/acl2/acl2-v2-7> gcl
> GCL (GNU Common Lisp) (2.5.2) Thu Jun 12 17:52:50 CDT 2003
> Licensed under GNU Library General Public License
> Dedicated to the memory of W. Schelter
>
> Use (help) to get some basic information on how to use GCL.
>
> >(si::save-system "my-saved_gcl")
> Can't open gcl for reading: errno 2
> elgin:~/m/tools/acl2/acl2-v2-7>
>
> Any suggestions?
>
> Warren
>
>
>
--
Camm Maguire address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gcl-devel] Re: GCL Error?,
Camm Maguire <=