Igor Marnat wrote:
Frank, thanks for your answer, program was successfully compiled without libos-hack. I also have managed to build ncurses for ARM and run some of its test programs under ARM - it seems to be functional. It takes a little of time and some corrections of makefiles - I cannot tell that there are all clear for me with configuration variables and scripts, it seems to be some problems in this area. Anyway it works now.
I suppose so. (As I said, you might want to report what you did on the ncurses list and perhaps you'll get some feedback from there.)
Now I have another problem - libgrx20. Is it possible to build it for ARM? There is written in documentation that only a few platforms are supported and it needs a good understanding of GRX internals to build it for another platform (which I don't actually have, this good understanding).
One of the GRX targets is Unix X11. That's the only one that can possibly run on ARM AFAICI -- provided you have X11 running. (If not you'd have to port GRX yourself, which is probably a lot of work.) If building for the X11 target doesn't work as usual (well, you probably have to use variables for the cross-compiler as for ncurses ...), the GRX list is grx@gnu.de.
Is it some other graphic interface besides libgrx? I need some interface like those that is realized in Midnight Commander - nothing extraordinary. It works fine under Linux on i686 using libgrx20 but I don't think that it will be easy to build libgrx20 under ARM (especially taking in consideration that it uses svgalib).
Forget about svgalib. It is (was?) a kludge under Linux and works nowhere else AFAIK.
If you have X11, you can try GRX, plain xlib (see contrib/eike for a Pascal interface) and probably a number of other libraries (usually without Pascal interface, but that's relatively easy to write if you don't need very many routines and declarations).
Frank