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 -- Peter Gerwinski, Essen, Germany, http://home.pages.de/~Peter.Gerwinski/ Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - gpc-19990118 PGP key on request - 6C 94 45 BE 28 A4 96 - 0E CC E9 12 47 25 82 75 *** Vote against SPAM! ********* http://www.politik-digital.de/spam/ ***
participants (2)
-
Alejandro Villarroel -
Peter Gerwinski