Page 1 of 1
Statick v1.2 Linux windows
Posted: Wed Jun 20, 2012 9:24 pm
by idle
Statick is a utility to create static libraries from PB shared library sources, to facilitate the development of User Libraries, standard archives or wrappers to c libs.
See the ReadMe in the platforms subfolder for setup and use.
Notes:
The libraries produced may only be compatible with PB, so if you want to use it from a foreign language
and it doesn't work..., it's only intended to aid PB development.
Also please respect the intent of your PB user licence and don't create simple wrappers to PB libs!
Combined Download for Linux, Windows with support for x86 and x64
http://www.idlearts.com/Statick_v1_2.zip
Re: Statick v1.0a Linux
Posted: Sat Jun 23, 2012 4:18 am
by idle
added x64 version
Re: Statick v1.0a Linux windows
Posted: Sun Jul 01, 2012 4:37 am
by idle
Added win x86 version
Re: Statick v1.0a Linux windows
Posted: Sun Jul 01, 2012 12:53 pm
by A M S
Re: Statick v1.0a Linux windows
Posted: Sun Jul 01, 2012 2:59 pm
by ts-soft

thx, very useful
Re: Statick v1.0a Linux windows
Posted: Sun Jul 01, 2012 3:47 pm
by LuCiFeR[SD]
Looks very useful indeed

Cheers idle

Re: Statick v1.0a Linux windows
Posted: Sun Jul 01, 2012 6:00 pm
by ts-soft
Can you change the interface to a IDE-TOOL for all OS?
This would it make easier to use.
Greatings - Thomas
Re: Statick v1.0a Linux windows
Posted: Sun Jul 01, 2012 7:28 pm
by idle
Thanks
A win x64 is on the way.
ts-soft wrote:Can you change the interface to a IDE-TOOL for all OS?
This would it make easier to use.
Greatings - Thomas
I'll see what I can do, it won't be a problem to do on Windows but I'm not sure about Linux.
Re: Statick v1.2 Linux windows
Posted: Wed Jul 04, 2012 5:59 am
by idle
With a bit of help from ts-soft, got a windows 64 version.
changed it to a compiler tool
Re: Statick v1.2 Linux windows
Posted: Sat Jul 07, 2012 3:41 pm
by A M S
thanks again...

Re: Statick v1.2 Linux windows
Posted: Mon Jul 16, 2012 8:23 pm
by marroh
Good work, thanks!

Re: Statick v1.2 Linux windows
Posted: Sun Aug 05, 2012 2:45 am
by Peyman
Great work thanks, how can import procedures in VS 6 ?
for this code :
Code: Select all
DeclareDLL new_dialog(test.i)
ProcedureCDLL new_dialog(test.i)
MessageRequester("", Str(i))
EndProcedure
i use this header :
Code: Select all
extern void new_dialog(long);
extern void dialog_Init(void);
whats wrong ?
Re: Statick v1.2 Linux windows
Posted: Wed Aug 08, 2012 9:22 pm
by idle
I don't know what's wrong. Also I don't know if the libs produced are usable from other languages
Re: Statick v1.2 Linux windows
Posted: Sat Aug 11, 2012 12:57 am
by idle
Louise wrote:Thank you for the great work.
But I can not do with this tool to create a static library.
I get this error when building the library.
Title : Statick Error
Message : PureBasic.def not found.
Did you set your source to be compiled as a shared dll in the compiler options?
When PB compiles to a dll it will produce purebasic.def which has the names of the exported procedures.
Statick needs to read it, so it can add aliases to the exports in the asm before recompiling it.
So either you haven't specified that your source is a DLL or it's something else?
Statick has only been tested for PB 4.61