[fpc-devel] Unit dependencies
Michael Van Canneyt
michael at freepascal.org
Wed Feb 4 21:06:47 CET 2026
On Wed, 4 Feb 2026, Martin Frb via fpc-devel wrote:
> On 04/02/2026 15:41, Hairy Pixels via fpc-devel wrote:
>>
>>
>> I tried to make a reproducible example but failed and gave up.
>> Waiting 5 seconds when changing anything was too much.
>>
>
> Maybe I am simplifying this too much, and likely overlooking something....
>
> But, the assembler generates the .o files => and they should only be
> needed for linking?
>
> So... if you compile units only (which means no linking), or otherwise
> stop/defer the linking:
> Could you not just wrap the assembler into a small program, that would
> start it into the background and return to the compiler pretending to be
> done?
But you can already do this with the -s option.
The compiler generates all needed files, and at the end produces a script that does the assembling and linking.
But in the end, if you want to test, you need to wait anyway till everything
is assembled and linked...
Michael.
More information about the fpc-devel
mailing list