Newlisp on ASUS Eee PC 900

Machine-specific discussion
Unix, Linux, OS X, OS/2, Windows, ..?
Locked
Tim Johnson
Posts: 253
Joined: Thu Oct 07, 2004 7:21 pm
Location: Palmer Alaska USA

Newlisp on ASUS Eee PC 900

Post by Tim Johnson »

Hi:
Has anyone had any experience building and using Newlisp
on the ASUS Eee PC 900?
It has a xandros linux OS, gcc is not in the factory install,
I believe, but is available.
This link should give a look at the little fella....
http://www.amazon.com/Display-Intel-Mob ... 0K6F8Z1QO4
thanks
tim

unixtechie
Posts: 65
Joined: Sat Sep 06, 2008 6:30 am

a sort of answer

Post by unixtechie »

A sort of answer from general perspective:

You should have 0 problems.
Generally, compile on any linux with similar version libraries (i.e. without a generation gap) and live happily.

Or add the gcc package (and remove it later, if you need space). ASUS is no different from any other Intel-based machine, generally speaking, only a weaker one.

Basically, compilation of Newlisp is a very uneventful affair.

You can check what libraries NewLisp uses by running its REPL, then finding the process number (ps -ax|grep newlisp), and next
"cd /proc/XXXX", and "cat maps".
Or you can use "lsof" utility to see what system libraries are used by newlisp

E.g. on my system:
/lib/libc-2.7.so
/lib/libncurses.so.5.6
/usr/lib/libreadline.so.5.2
/lib/libdl-2.7.so
/lib/libm-2.7.so
/lib/ld-2.7.so
..and locale

If htose are available (which they MUST be in a default general-purpose linux installation), you'll be able to run your binary.



But, generally speaking
I believe "newlisp" should be included in the most minimal installations, based on diet libc (or ulibc or whatever else there is among the minimal libc clones) and busybox.
Actually, I'd include newlisp INTO the busybox to have a general-purpose programming language available.
Such a minimal system can be kept on a 50MB small booable "LiveCD" as a sysadmin troubleshooting tool that can be carried around in a wallet.

Tim Johnson
Posts: 253
Joined: Thu Oct 07, 2004 7:21 pm
Location: Palmer Alaska USA

Post by Tim Johnson »

Thanks for the tips. I imagine it will be no problem to install newlisp there.
cheers
tim

Locked