Thomas Dickey wrote:
ok (I'll try this when I get home). My ncurses shared libraries are current, but I do have static libraries for different versions, against which I may be able to test (though I'm not sure how to tell gpc to do that).
GPC basically accepts all GCC options, so you can pass library file name on the command line.
In addition you might have to edit the CRT unit (`gpc --print-file-name=units/crt.pas' to get its file name) and change this line (~790):
{$L crtc.c, panel, ncurses}
to just:
{$L crtc.c}
(The deleted part yields the effects of `-lpanel -lncurses'. Since explicitly names files take precedence on the linker command line AFAIK, this might not be necessary, but I'm not sure.)
Frank