Referring to my earlier messages, and the help from Frank, who was telling:
The CRT unit needs a curses library (ncurses oder PDCurses). I suppose you haven't installed one, or there's an installation problem with it (probably one of the first errors is something like "curses.h not found" -- unfortunately GCC outputs a lot of IMHO rather useless following messages resulting from the missing file).
If you have installed curses, perhaps another Cygwin user can help you better.
I tried to install PDCurses for my Cygwin set-up.
I think compilation of PDCurses sources was succesful. At least, after compilation, I am getting a whole list of *.o files in my installation directory, which I named PDCurses, inside my $HOME
However, upon including
uses CRT;
in a Pascal program, and running
gpc --automake ...
I still get the same long list of error messages, starting in the beginning with a message that a file 'curses.h' is not found.
In fact, I was looking for this file in my newly built PDCurses folder, but there it isn't neither. I find however a file called
pdcurses.a
in there (besides many others).
Can anyone help me in telling where I should put things up, so that gpc will find what is needed to work with CRT?
Greatly grateful!
Paul