Author Topic: libncurses.a  (Read 2265 times)

mabrown

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • http://www.homepages.ihug.com.au/~mabrown/index.html
libncurses.a
« on: September 20, 2004, 04:18:48 am »
Hi everyone.

I want to compile a programming language called 'Euphoria' using the native SDK for pdaXrom RC3. I need libncurses.a which does not appear to be included with RC3 or the RC3 SDK. I am compiling on C860.

I have tried compiling ncurses on the C860 from the Debian ARM source but received errors.

Does anyone have ncurses compiled for ARM? Any advice / suggestions appreciated.

Mark Brown
Sharp Zaurus C860
Sandisk 1GB SD
Toshiba 512MB CF
Pretec Wi-Fi CF
pdaXrom 1.1.0beta1 with IceWM

pmf

  • Jr. Member
  • **
  • Posts: 64
    • View Profile
libncurses.a
« Reply #1 on: September 20, 2004, 11:18:27 am »
Quote
I need libncurses.a which does not appear to be included with RC3 or the RC3 SDK

Why do you need to link statically?

Try adjusting your Makefile(s) and replace instances of
Code: [Select]
libncurses.a with
Code: [Select]
-L/opt/arm/3.3.2/armv5tel-cacko-linux/lib/ -lncurses?

If this does not work, I can mail you the libncurses.a from the older SDK I have installed (408kb).

mabrown

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • http://www.homepages.ihug.com.au/~mabrown/index.html
libncurses.a
« Reply #2 on: September 20, 2004, 09:11:13 pm »
Hi Pmf.

Thanks for your help.

Your suggestion to get it from the old SDK made me realise that I could extract it from the .deb package I downloaded.

Everything is compiled now and I have the Euphoria interpreter running on my C860.

The Euphoria source uses a script to compille. It didn't come with a makefile. I'm still fumbling my way through the Linux world and thought it best to go with what was there.

I've so far run a number of the Euphoria demo programs including the 'ed" console text editor. Seems quite snappy.

I had to #ifdef out all the references to gpm. I gather gpm has to do with console mouse tracking?

Do you have any suggestions as to how I might implement these gpm functions?

Many thanks,

Mark
Sharp Zaurus C860
Sandisk 1GB SD
Toshiba 512MB CF
Pretec Wi-Fi CF
pdaXrom 1.1.0beta1 with IceWM

pmf

  • Jr. Member
  • **
  • Posts: 64
    • View Profile
libncurses.a
« Reply #3 on: September 20, 2004, 11:26:05 pm »
Quote
I had to #ifdef out all the references to gpm. I gather gpm has to do with console mouse tracking?

Do you have any suggestions as to how I might implement these gpm functions?

GPM is only necessary if you run a program in the bare-bones linux-console; if you run programs in a terminal emulator under X (aterm, xterm), mouse functionality should be handled by ncurses-functions (see ncurses.h).

If the program uses for example 'getmouse()' somewhere, it probably utilizes the mouse via ncurses.

I compiled w3m, which also uses ncurses, and the mouse works as expected.

I don't know it GPM supports the touchscreen-driver (without X) at all.