Page 1 of 1

Pelles-C to make PB LIBs ?

Posted: Wed Aug 17, 2005 6:45 pm
by Seldon
Hi, sometimes ago I made a .LIB (in C) for PureBasic with few functions I needed for my internal use. I used Lcc-Win32 , but now I'm using Pelles-C mainly for my C projects, so is it possible to use Pelles-C to make LIBs for PureBasic ?? Thanks in advance! :wink:

Re: Pelles-C to make PB LIBs ?

Posted: Wed Aug 17, 2005 7:19 pm
by traumatic
Yes, absolutely!









Err... any questions in particular? ;)

Posted: Wed Aug 17, 2005 9:22 pm
by Seldon
Thanks for reply ! Well, since the docs talk about LCC-Win32, I was wondering if the definitions (-> extern _stdcall your_function) are the same. Do you use Pelles-C too? I'll do some tests and see if I've problems. Thanks for your time.

Posted: Thu Aug 18, 2005 8:00 am
by traumatic
I mainly use VC but can assure you Pelles C works as well.
In fact, every C-compiler should work.

The SDK-docs are veeeery old so don't count on them.
BTW, Pelles C is based on LCC and PureBasic uses the Pelles-Linker as well.