Running an executable on Linux

Started by reinier maliepaard, May 08, 2018, 09:11:19 AM

Previous topic - Next topic

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

Lutz

#1
Thanks, see corrections here:



http://www.newlisp.org/downloads/newlisp_manual.html#link">www.newlisp.org/downloads/newlisp_manual.html#link

and here:

http://www.newlisp.org/newLISP_in_21_minutes.html">www.newlisp.org/newLISP_in_21_minutes.html

johu

#2
Hello, Lutz.



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



newlisp_manual-10701



There is in https://onedrive.live.com/?cid=23a9a25e1aec3626&sc=documents&id=23A9A25E1AEC3626!1450">here.



Regards,

Lutz

#3
Thanks Johu http://www.newlisp.org/newlisp_manual-jp.html">http://www.newlisp.org/newlisp_manual-jp.html