Page 1 of 1

Running an executable on Linux

Posted: Tue May 08, 2018 4:11 pm
by reinier maliepaard
Hello,

A minor thing about the newLisp documentation on running an executable on Linux. Given the following:

;; uppercase.lsp - Link example - from the Manual:
(println (upper-case (main-args 1)))
(exit)
---
;;make executable on Linux via command line:
newlisp -x uppercase.lsp uppercase
chmod 755 uppercase
uppercase "hello"
---

I think that it is more clear for newbies if the command uppercase "hello" is replaced by the command ./uppercase "hello" - only the latter with ./ does the job -as far as I can see.

If my observation is valid, then some modifications in the manual and some tutorials should be made:
- manual on newlisp.org ("Linking a source file with newLISP for a new executable")
- en.wikibooks.org/wiki/Introduction_to_newLISP
- newlisp.org/newLISP_in_21_minutes.html

Best regards,
Reinier

Re: Running an executable on Linux

Posted: Tue May 08, 2018 11:21 pm
by Lutz

Re: Running an executable on Linux

Posted: Thu May 10, 2018 1:12 pm
by johu
Hello, Lutz.

I finished translation of the manual v.10.7.1 2018-05-08.

newlisp_manual-10701

There is in here.

Regards,

Re: Running an executable on Linux

Posted: Fri May 11, 2018 1:54 pm
by Lutz