Alejandro Villarroel wrote:
Hi everyone. I have the following problems. 1. In pascal program like this ... uses crt; begin ClrScr; .... And it says that there is no reference to crt_clrscr. The same
To help, we need a little more details -- which GPC version, which environment, etc.
Concluding from your example below, let's assume DJGPP. Automake is broken under DJGPP (see the To-Do list), so try `--autobuild' instead, or removing all *.o and/or *.gpi files before compiling. I hope this situation will get better soon.
happens when I use C program with #include <conio.h> .... main() ..... clrscr(); .... Where's the problem?
You mean you get an undefined reference to crt_clrscr in a C program that doesn't use CRT at all? Hard to believe... If that's really what you mean, please post a *complete* sample code.
2. When I use a project with a single file *.pas, I have to add
these file to the project, do I have to add the units? I metion this because when I add only the *.pas It says that It cannot import the unit. When I close the project and I build all, it works.
Is that about RHIDE? In general, you should only have to specify the main program file name if you use --automake. But as I said, under DJGPP try --autobuild or removing compiled units...
Frank