[fpc-pascal] I am offering a $100 reward for linking static libraries

Henry Vermaak henry.vermaak at gmail.com
Thu Aug 25 12:26:36 CEST 2022

On Thu, 25 Aug 2022 at 04:08, Anthony Walter via fpc-pascal
<fpc-pascal at lists.freepascal.org> wrote:
> I've written a utility to extract mingw64 static library exports into a searchable database. This allows me to search for possible missing functions (see the screenshot below)
> https://cache.getlazarus.org/images/desktop/raylib-static.png

Note for anyone with msys2, you can make a file containing all defined
external symbols like this:

# find /mingw64/lib -name "*.a" -exec nm -pogC --defined-only '{}' \;
2>/dev/null >> symbs.txt

Then search it with grep:

hcv at hcv-l14 MINGW64 ~
# grep -w atexit symbs.txt
T atexit
T atexit
T atexit

hcv at hcv-l14 MINGW64 ~
# grep -w sincos symbs.txt
T sincos


More information about the fpc-pascal mailing list