Karim Forsthofer wrote:
I compiled gnu-pascal on my NetBSD 2.0.2 box yesterday. It worked well. After some basic compiler tests, I would like to know, how to compile a ncurses program. I have the ncurses lib already installed. It looks like this:
/usr/pkg/lib/libncurses.so /usr/pkg/include/ncurses.h
O.k, now I have some questions:
- Where can I find the gpc BINDINGS to ncurses? I only found the
library on the gpc-webspace.
What are the compiler flags to compile gpc-ncurses code?
A small test code would be very useful. Any suggestions?
There is a ncurses for gpc package at my website http://www.microbizz.nl/gpc.html. It has been put together by Willett Kempton and it contains demo programs. Note that the package is for Mac OS X. It will probably work on NetBSD, but you have to check by hand if the all the types have the correct sizes (there is no configure option yet).
Regards,
Adriaan van Os