Calling Compiler

Everything else that doesn't fall into one of the other PB categories.
Xombie
Addict
Addict
Posts: 898
Joined: Thu Jul 01, 2004 2:51 am
Location: Tacoma, WA
Contact:

Calling Compiler

Post by Xombie »

I've dug around a bit but I may be using the wrong search keywords. I apologize if this has come up before.

I might have a need for a small project that can compile PB code. How can I call the PB compiler like japbe and related projects do? Or, if there are other ways, how do they work?

Thanks!
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

Use some code to locate the PB installation folder (there's a few such snippets scattered around) and then use good old RunProgram(). Worked fine for coffIT.
I may look like a mule, but I'm not a complete ass.
Xombie
Addict
Addict
Posts: 898
Joined: Thu Jul 01, 2004 2:51 am
Location: Tacoma, WA
Contact:

Post by Xombie »

But... that would be too easy...

How did the compile time compare to japbe and the PB editor?
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

I tore the basic code from JapBE!!! :wink:
I may look like a mule, but I'm not a complete ass.
Fred
Administrator
Administrator
Posts: 18557
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

Post Reply