[fpc-pascal] Extra linkxxx.res files left over when compiling/building project

Michael Van Canneyt michael at freepascal.org
Mon Jan 15 12:56:31 CET 2024



On Mon, 15 Jan 2024, Bo Berglund via fpc-pascal wrote:

> I have been working on troubleshooting a command line FreePascal project for a
> couple of weeks now and when I look in the project dir it is full of link files:
>
> 2021-09-12  10:23            23 900 link.res
> 2024-01-15  00:30            23 833 link11600.res
> 2024-01-13  10:39            23 833 link17204.res
> 2024-01-13  10:35            23 833 link19736.res
> 2024-01-13  10:43            23 833 link22340.res
> 2024-01-13  10:45            23 833 link23748.res
> 2024-01-13  13:35            23 833 link24944.res
> 2024-01-13  10:41            23 833 link25456.res
> 2024-01-13  21:15            25 743 link3564.res
> 2024-01-13  13:40            23 833 link5720.res
>
> Of course I can delete them but why has this happened? Should these not be
> temporary or else located below the lib dir somewhere?

If the linking stage fails (or some other external tool) then this file is 
left, it helps to examine what happened.

You can delete them.

Michael.


More information about the fpc-pascal mailing list