I apologize for my questions but I'm just starting to use GNU pascal. I have this problem, I'm using a very small test program like this: program example; uses gpc; var a:integer; Begin a:=1; writeln('Hello'); end. But when I tried to compile this programa it said that It cannot import gpc module/unit, I tried with other units with the same result. { By the way the units (in the unit directory) are *.pas, right? } What I have to do?
Hi!
But when I tried to compile this programa it said that It cannot
import gpc module/unit, [...]
gpc --automake example.pas
{ By the way the units (in the unit directory) are *.pas, right?
Right.
Hope this helps,
Peter