Thanks a lot. However when I have a uses GPC; or uses CRT;
line in a file, file.pas
then
calling "gpc file.pas"
produces -module/unit interface 'GPC' could not be imported -module/unit interface 'CRT' could not be imported
Probably my installation is not fine-tuned?
- reply to the list
- don't use HTML in mails
- use `gpc --automake'
Frank
Dear Frank
You are very quick. Thanks a lot, but also I want to apologise for perhaps stupid questions, ... since I am 'moving to use GPC...'
- my program now has a uses gpc, crt;
- with "gpc --automake" several things happened, but mainly a tremendous long list of errors occurred, having to do with messages like /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/units/crtc.c :.....
after a while, it ended with gpc1: gpc exited with status 1
- I observe that now, in the folder of my program-file, there is a gpc.o file, and when I use only 'uses gpc' in my program, it compiles well. So it is the crt which is causing problems.
- since I was not very sure if my installation was OK, I removed everything meanwhile, and re-installed cygwin from scratch, including gcc-gpc... etc...
- but the same error persists...
Hoping somebody can help me.
Sincerely
Paul
Frank Heckenbach wrote:
Thanks a lot. However when I have a uses GPC; or uses CRT;
line in a file, file.pas
then
calling "gpc file.pas"
produces -module/unit interface 'GPC' could not be imported -module/unit interface 'CRT' could not be imported
Probably my installation is not fine-tuned?
reply to the list
don't use HTML in mails
use `gpc --automake'
Frank
Paul.Igodt wrote:
- my program now has a uses gpc, crt; - with "gpc --automake" several things happened, but mainly a tremendous long list
of errors occurred, having to do with messages like /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/units/crtc.c :.....
after a while, it ended with gpc1: gpc exited with status 1 - I observe that now, in the folder of my program-file, there is a
gpc.o file, and when I use only 'uses gpc' in my program, it compiles well. So it is the crt which is causing problems.
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.
Frank