static/dynamic libraries

BlitzMax Forums/BlitzMax Programming/static/dynamic libraries

I didn't think of that, nice!

Notice there is a lib folder, which is exactly like GCC/MINGW's. If you look into the opengl bmx code, you'll see that they use:
Import "-lopengl32" 
Also notice there inside the lib folder, it's named "libopengl32.a"
If I can remember correctly this is exactly how I used to do it in GCC. So when I was working on the enet code, it needs the 32-bit version of the winsock2 lib. I did infact add the lib, Blitzmax doesn't have it in its lib folder.(which was libws2_32.a) -- which I got from MinGW's lib folder. (But if you think about it, I probally wouldn't need to copy this to Blitzmax's lib folder, considering MinGW probally uses it's lib folder also.)

So yeah, it does include it. :)
But I guess it's just adding it to the command line, like other import's

Import "-l ws2_32"
Is how I put it

So yes it is possible to include libs, -- but it used them in the C code, and I didn't try anything from within blitz. :)