The .lib that is created when you make a dll is just an import library.
I found an example on the forums to convert a dll to lib, but that, as well, is an import lib.
Is there a way to have purebasic generate a .lib file such that I can give the lib to someone else and they can compile/link and have access to my functions (w/o an associated dll)
Convert or create true LIB file?
Re: Convert or create true LIB file?
If it was possible, would have the Lib dependence to the PureLibs which would be necessary then. However, this is not allowed, therefore a meaningful provide from static Libs impossible.
If you create a userlib with tailbite, this is a real static lib, only compressed with some extra infos, but you can't use it
in another language (after decompression). To many dependencies to pb libs.
Greetings - Thomas
If you create a userlib with tailbite, this is a real static lib, only compressed with some extra infos, but you can't use it
in another language (after decompression). To many dependencies to pb libs.
Greetings - Thomas
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Re: Convert or create true LIB file?
Thanks; I hadn't considered the (now obvious) dependency on PB's internal libs.

