Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - GDavidModica

#1
It works!  Thank you.
#2
Thanks Lutz,



It is nice to know I'm not crazy.  I will watch for the 64 bit fix - no hurry.
#3
Hi all,



I am new to newLisp and working through the manual.  The example says:
Quote(1) Put the following files into the same directory: (a) a copy of the newLISP executable; (b) newlisp (or newlisp.exe on Win32); (c) link.lsp; and (d) the program to link with (uppercase.lsp in this example).

On Linux I don't understand the distinction between a) and b).   Assuming they are the same and using this directory
$ ls Lisp/newLispCode
 link.lsp  newlisp  uppercase.lsp

I get the following results:
$ newlisp link.lsp
Hi
newLISP v.10.3.3 64-bit on Linux IPv4/6 UTF-8, execute 'newlisp -h' for more info.

> (link "newlisp" "uppercase" "uppercase.lsp")
original newlisp executable:newlisp
new executable:uppercase
source:uppercase.lsp
true
> (exit)
$ chmod 775 uppercase
$ ./uppercase "convert me to uppercase"
newLISP v.10.3.3 64-bit on Linux IPv4/6 UTF-8, execute 'newlisp -h' for more info.

> (last-error)
nil
>

The executable uppercase is 76 bytes larger than newlisp but behaves as if nothing was linked in.



Can anyone point out what I am missing?