A question(resolved) about generating a static lib from pb to share (dependency on PB's libraries is the issue) -- but what about one to create a lib specific to PB (or heck, even a standard .lib that we could share with other pb users or (more importantly) use internally.
To create a 4th type of file (the 3 being console/window/shared), "a static PBLIB" such that PB users could easily swap a library around and have pb link against it....
That way I could create a lib (for my own use) of my common functions; and when I build an exe, it links against those functions (similar to the way Import works now) Except I wouldnt' need a dll.
Since it's all happening in the PB world; PB-dependency libraries would not be an issue.
Create Static (pb specific) lib file
Re: Create Static (pb specific) lib file
What is the difference to a userlib? I can't see a difference.
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.

-
- Addict
- Posts: 1518
- Joined: Wed Nov 12, 2008 5:01 pm
- Location: Russia
Re: Create Static (pb specific) lib file
This is not an official extension and userlib dependent on on the version of PB.ts-soft wrote:What is the difference to a userlib? I can't see a difference.
B userlib installs in PB and can not be used for one particular project, as lib-file.
Re: Create Static (pb specific) lib file
and this is unchangable, if the lib based on PBUser_Russian wrote:and userlib dependent on on the version of PB.

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.
