Hi All,
i have just installed the binary version of GPascal in a 586 linux machine. When I try to compile some demo, for instance power.pas I get this error message:
power.pas :25: module/unit interface 'Gpc' could not be imported
It seems a path problem - the compiler can not find any interface modules. Is there a place where they should be?
I have read the documentation but I've found no hints. Could someone give me some help? Thanks in advance.
Gualberto Rabay Univ. of Minas Gerais - Brazil
to: IN:gpc@gnu.de cc: rabay
Rabay@passos.uemg.br wrote:
power.pas :25: module/unit interface 'Gpc' could not be imported
Did you give GPC the `--automake' option?
gpc --automake power.pas -o power
It seems a path problem - the compiler can not find any interface modules. Is there a place where they should be?
If it is really a path problem you can tell GPC the path to the source of your units (say, `/foo/bar/units') with the following option:
--unit-path="/foo/bar/units"
Hope this helps,
Peter