Pelles-C to make PB LIBs ?

Windows specific forum
Seldon
Enthusiast
Enthusiast
Posts: 405
Joined: Fri Aug 22, 2003 7:12 am
Location: Italia

Pelles-C to make PB LIBs ?

Post 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:
traumatic
PureBasic Expert
PureBasic Expert
Posts: 1661
Joined: Sun Apr 27, 2003 4:41 pm
Location: Germany
Contact:

Re: Pelles-C to make PB LIBs ?

Post by traumatic »

Yes, absolutely!









Err... any questions in particular? ;)
Good programmers don't comment their code. It was hard to write, should be hard to read.
Seldon
Enthusiast
Enthusiast
Posts: 405
Joined: Fri Aug 22, 2003 7:12 am
Location: Italia

Post 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.
traumatic
PureBasic Expert
PureBasic Expert
Posts: 1661
Joined: Sun Apr 27, 2003 4:41 pm
Location: Germany
Contact:

Post 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.
Good programmers don't comment their code. It was hard to write, should be hard to read.
Post Reply