Peter Gerwinski wrote:
Hi Peter, thanks a lot for your help. By the wat I'm using Rhide, and I
put this in the compiler options --automake, and this time it said that it can not compile the module/unit gpc
RHIDE can add `--automake' automatically. Remove it from the compiler options, and instead define a "Pascal primary file" in the "Project" menu.
In the Project menu, there is a options called primary file, what exactily I have to write there? the name of the *.pas file? because I did that and the it said that It cannot import the Module/unit gpc.
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/ ***
Alejandro Villarroel wrote:
In the Project menu, there is a options called primary file, what exactily I
have to write there? the name of the *.pas file?
Yes. The name of the `.pas' file that contains the main program.
because I did that and the it said that It cannot import the Module/unit gpc.
And what happens if you try GPC from outside RHIDE with a command as follows?
gpc --automake example.pas -o example
If this does not work, please try
gpc -v --automake example.pas -o example
which will output information from where you (and we) can see where GPC is trying to look for units and what is going wrong.
Peter