The dlltool does not work.
I tried to create .dll.a from def file, and got a empty file. Zero Bytes.
It did not report any errors.
The dll came from https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/hqx/hqx-1.1-mingw-win32-bin.zip.zip
Here is the def file
LIBRARY libhqx-1.dll
EXPORTS
hq2x_32@16
hq2x_32_rb@24
hq3x_32@16
hq3x_32_rb@24
hq4x_32@16
hq4x_32_rb@24
hqxInit@0
Found the problem.
I had copied dlltool and as.exe to directory to use.
This did not work period.
What worked is setting the path to freebasic/bin/win32.
There must be some other depency needed besides as.exe in the freebasic/bin/win32.
I now consider this issue closed.
maybe ar.exe, it is used to make the
*.afiles