newLISP Fan Club

Forum => newLISP in the real world => Topic started by: reinier maliepaard on May 08, 2018, 09:11:19 AM

Title: Running an executable on Linux
Post by: reinier maliepaard on May 08, 2018, 09:11:19 AM
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
Title: Re: Running an executable on Linux
Post by: Lutz on May 08, 2018, 04:21:58 PM
Thanks, see corrections here:



www.newlisp.org/downloads/newlisp_manual.html#link

and here:

www.newlisp.org/newLISP_in_21_minutes.html
Title: Re: Running an executable on Linux
Post by: johu on May 10, 2018, 06:12:50 AM
Hello, Lutz.



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



newlisp_manual-10701



There is in here (//https).



Regards,
Title: Re: Running an executable on Linux
Post by: Lutz on May 11, 2018, 06:54:52 AM
Thanks Johu http://www.newlisp.org/newlisp_manual-jp.html