13 Mar
2001
13 Mar
'01
8:42 a.m.
On Mon, Mar 12, 2001 at 07:40:36PM +0100, David James wrote:
With 19991030, if I had a program (prog1.p) which used unit unit1.p, the program had a 'uses unit1' in it, and my build procedure did gpc -c unit1.p on the unit, and then gpc prog1 and everything worked.
I think, you have this situation: unit bar9; interface uses bar8; ... implementation ... end. . . program foo; uses bar9; begin end. then you just have to call gpc --automake foo.pas --automake cares autmatically ( :-) ) for those interdependencies. But be careful. What you must not do is unit bar; interface uses foo; ... implementation ... end. unit foo; interface uses bar; ... implementation ... end. Eike