I am having so much trouble with automake that I am considering abandoning GPC altogether.
Everytime that I add a few more modules to my program, I have to spend several hours reorganizing units in order to get the program to compile. The only solution seems to be to combine all units into one giant unit. This is not really satisfactory.
I keep running out of virtual memory on a machine with 256 MBytes of memory.
My concern is that eventually my program will grow to a point where I won't be able to compile it at all. Or that compilation takes so long that development becomes impossible. Currently, the code only implements part of the GUI.
Using a makefile is much better. I am not absolutely sure how to express the dependencies. Make seems to have no concept of a compilation producing more than one output file. I can get RHIDE to bypass automake by not specifying a primary file and adding all source files to the project. But Rhide apparently ignores the Uses clauses when determining dependencies and I ca't work out how to use user-defined dependencies with it.
Does anyone know how I can use Rhide and avoid automake?
Alternatively, is there some other solutions -
A library for gpi's would be nice? Any options to indicate to automake that certain units don't need to be checked?
I suspect that if automake kept track of the units not requiring compilation, things might improve.things. That is, the first time it checks grx20.pas, it should note that no recompilation is required rather than rechecking the same file many times.
I'd be grateful for any advice.
Russell Thamm