[fpc-pascal] Question about some units

Francisco Reyes lists at stringsutils.com
Fri Jun 8 20:53:42 CEST 2007


Test writes:

> I have a source file (test.pp)  that uses some units. Where can I get 
> those units? If you didn't notice, I am a newbie :)
> I tried to compile but it obviously drops an error.

> uses
>   cgiapp, unix, unixutils, classes, inifiles

Does the program compile?
If it does it means the compiler is finding the units.. and you can see 
where the compiler is looking by calling it:
fpc -va test.pp

That is a whole lot of output though..
If you are in a unix machine you could try "locate cgiapp".
Another thing you can try if you are in unix: locate fpc.cfg

The fpc.cfg

I am a freepascal newbie myself.. so there may be better ways. The above are 
just two possible ways to look for the units. 



More information about the fpc-pascal mailing list