Hi dear All. I'm trying to build some pascal program for ARM7TDMI using GPC as a cross compiler for ARM (host - i686, RedHat9; target - uclinux, ARM7TDMI, gcc - 2.95.3, gpc - 20010315). I've got some problems, could you please help me with those:
1. When I include unit CRT in my program, GPC asks for libos-hack library that I don't have on my machine. After some investigation I found that I can change file rts-config.inc (i.e. write there string #UNDEF HAVE_LIBOS_HACKS) to avoid this issue. Is it any bug in GPC configuration script? Is it just enough to change this string for system to work correctly? I didn't manage to find any notes about libos-hack in Google.
2. After I have removed this issue about libos-hack, arm-elf-gpc asked for libpanel library from ncurses but cannot find it. How should I correct this problem? I read configuration scripts for ncurses and found that they use only usual gcc, there is nothing like $(target)-gcc in the scripts. Is it possible to build and install ncurses for ARM? I think I cannot use library /usr/lib/libpanel.a for ARM if it is compiled using usual gcc for Intel. Is it possible to install ncurses so that only source files will be used (i.e. without libraries)? Or is it possible to build ncurses for arm using arm-elf-gcc?
Thanks a lot, Igor Marnat. mailto:marny@rambler.ru