Hallo Mr Pickles ;-)
Yes it does... sort of...
Only talking about Linux here so...
You use "-Lpath/to/lib" to tell it where to look for a library - if it isn't in the usual place.
You use "-lnameoflibrary" to link to the shared object. If the library is called "libblah.so" you would use "-lblah".
BMK is (or was... I forget since I've patched it so much) broken as far as linking to shared objects on OS X. (There is a tweaked version available - see my post in the tweaks for a link)
My Patched BMK also allows for CC compile time options, and LD link time options - which you will need for certain libraries that expect things set in certain ways.
On my FC6 I have a libglade-2.0.so
You would need to use the following to link to it :
Import "-lglade-2.0"
Anyways... the rest you should have fun working out for yourself ;-)
Some of my modules link to shared objects, the rest I tend to compile in the source. Some linky ones for Linux are GTK, Cairo, and Fontconfig. (might be more, but I lose track...)
Have Fun :-)
Does BlitzMax do shared libraries?
Yes it does... sort of...
Only talking about Linux here so...
You use "-Lpath/to/lib" to tell it where to look for a library - if it isn't in the usual place.
You use "-lnameoflibrary" to link to the shared object. If the library is called "libblah.so" you would use "-lblah".
BMK is (or was... I forget since I've patched it so much) broken as far as linking to shared objects on OS X. (There is a tweaked version available - see my post in the tweaks for a link)
My Patched BMK also allows for CC compile time options, and LD link time options - which you will need for certain libraries that expect things set in certain ways.
On my FC6 I have a libglade-2.0.so
You would need to use the following to link to it :
Import "-lglade-2.0"
Anyways... the rest you should have fun working out for yourself ;-)
Some of my modules link to shared objects, the rest I tend to compile in the source. Some linky ones for Linux are GTK, Cairo, and Fontconfig. (might be more, but I lose track...)
Have Fun :-)