I know I have asked the question in one way or another previously, but can't seem to get a definitive answer on this. FB ships with many includes by default libname.bi. but we still need to import the binaries for some. FB 1.09.0 64bit Windows.
For simplicity just stay with shared libraries only. I will use curses.bi (pdcurses.bi) as an example.
Code: Select all
.\FreeBASIC-1.09.0-win64\inc\curses.bi
.\FreeBASIC-1.09.0-win64\inc\curses\pdcurses.bi
.\FreeBASIC-1.09.0-win64\lib\win64\ (No libpdcurse.dll.a present)
.\FreeBASIC-1.09.0-win64\bin\win64\ (No pdcurse.dll present)
Code: Select all
.\FB\curses\hellowordl.bas (Project directory)
Code: Select all
pdcurses.a
pdcurses.def
pdcurses.dll
2. What directory should each files/s be placed in?
==============================================================================
It would seam as if I only need the DLL and the lib.dll.a is not actually required (Unsure) and compiles and links against the pdcurses.dll in the project directory without the need for the libpdcuses.dll.a..
if so, why all of the libname.dll.a files in .\lib ?
Or is it normal have both .\lib\libpdcusres.dll.a as well as .\project\pdcurse.dll
This is not stated anywhere that I can find in the manuals, and haven't yet found it in the forums.
Axle