[fpc-pascal] Statically link library

Ludo Brands ludo.brands at free.fr
Fri Apr 26 10:19:32 CEST 2013


On 04/26/2013 09:54 AM, Darius Blaszyk wrote:
> 
> On Apr 26, 2013, at 1:37 AM, Paul Breneman wrote:
> 
>>>>
>>> Yes it does find them, the statically libraries are linked into an executable which works fine. That is why I was surprised. I'm sure MinGW must link to other libraries as well. The question though is which. Anyway to find out for a simple example project executable?
>>
>> http://www.dependencywalker.com/
>> _______________________________________________
>>
> Will have a look, although at first sight it seems to find dynamic libraries. I need to check the static ones as well.
> 

Pass -M or --print-map to ld to get a memory map. It includes all object
files included.

Ludo



More information about the fpc-pascal mailing list