Running an executable on Linux

Q&A's, tips, howto's

Running an executable on Linux

Postby reinier maliepaard » Tue May 08, 2018 4:11 pm

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
reinier maliepaard
 
Posts: 6
Joined: Fri Jul 05, 2013 5:34 pm

Re: Running an executable on Linux

Postby Lutz » Tue May 08, 2018 11:21 pm

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

Re: Running an executable on Linux

Postby johu » Thu May 10, 2018 1:12 pm

Hello, Lutz.

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

newlisp_manual-10701

There is in here.

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

Re: Running an executable on Linux

Postby Lutz » Fri May 11, 2018 1:54 pm

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


Return to newLISP in the real world

Who is online

Users browsing this forum: No registered users and 2 guests