Running an executable on Linux

Q&A's, tips, howto's
Locked
reinier maliepaard
Posts: 6
Joined: Fri Jul 05, 2013 5:34 pm

Running an executable on Linux

Post 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

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Re: Running an executable on Linux

Post by Lutz »


johu
Posts: 143
Joined: Mon Feb 08, 2010 8:47 am

Re: Running an executable on Linux

Post 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,

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Re: Running an executable on Linux

Post by Lutz »


Locked