Newlisp on ASUS Eee PC 900

Started by Tim Johnson, November 19, 2008, 12:49:12 PM

Previous topic - Next topic

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-Mobile-Solid-State/dp/B001BYB60W/ref=wl_it_dp?ie=UTF8&coliid=I1LWNM4XK03I86&colid=2W50K6F8Z1QO4">http://www.amazon.com/Display-Intel-Mob ... 0K6F8Z1QO4">http://www.amazon.com/Display-Intel-Mobile-Solid-State/dp/B001BYB60W/ref=wl_it_dp?ie=UTF8&coliid=I1LWNM4XK03I86&colid=2W50K6F8Z1QO4

thanks

tim
Programmer since 1987. Unix environment.

unixtechie

#1
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

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

cheers

tim
Programmer since 1987. Unix environment.