compile pb code to static lib

Everything else that doesn't fall into one of the other PB categories.
PurePWNRER
User
User
Posts: 45
Joined: Mon Mar 27, 2006 5:44 am

compile pb code to static lib

Post by PurePWNRER »

how do i compile pb code to static lib i can use in c and so (.lib) . danke
:/ My kingdom for a snippet!
I might bash, But I provide.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: compile pb code to static lib

Post by gnozal »

PurePWNRER wrote:how do i compile pb code to static lib i can use in c and so (.lib) . danke
AFAIK, PB only supports CONSOLE / GUI / DLL, not LIB (static library) (yet ?).
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
PurePWNRER
User
User
Posts: 45
Joined: Mon Mar 27, 2006 5:44 am

Post by PurePWNRER »

y not? how to work around this? . danke
:/ My kingdom for a snippet!
I might bash, But I provide.
traumatic
PureBasic Expert
PureBasic Expert
Posts: 1661
Joined: Sun Apr 27, 2003 4:41 pm
Location: Germany
Contact:

Post by traumatic »

PurePWNRER wrote:y not? how to work around this? . danke
You could use /COMMENTED and assemble the .lib (or .so) on your own.
You can't however use any of PBs libraries (ie functions) that way.
Good programmers don't comment their code. It was hard to write, should be hard to read.
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

traumatic wrote:You could use /COMMENTED and assemble the .lib (or .so) on your own.
You can't however use any of PBs libraries (ie functions) that way.
And that includes strings, arrays, linked lists and quads.
Post Reply