Compiling from TextPad

Everything else that doesn't fall into one of the other PB categories.
^OO^
User
User
Posts: 27
Joined: Mon Apr 28, 2003 5:58 am
Location: United Kingdom
Contact:

Compiling from TextPad

Post by ^OO^ »

Hi PB People,

I like editing with TextPad. TextPad can also trigger compilation.

The directory C:\Program Files\PureBasic\Compilers has five complier executables:-

BuildLib.exe
FAsm.exe
LccLnk.exe
PBCompiler.exe
PureBasic27986232.exe

Which are called to create an executable? And, in what order should they be called?

Finally, which one does the "test" compile?

Thank you :-)
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2148
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

Post by Andre »

You should call the PBCompiler.exe

Take a look in the manual, chapter "Using the Shell-Compiler" (top-left corner) for further descriptions and some examples...
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
^OO^
User
User
Posts: 27
Joined: Mon Apr 28, 2003 5:58 am
Location: United Kingdom
Contact:

Post by ^OO^ »

Hello Andre

That is what I was doing.

Without the /EXE "test" parameter, it runs the app without saving anything.
With /EXE "test", it does not run the app and still does not save anything.

I searched the whole disk in case it saved it somewhere else - nothing!
Henrik
Enthusiast
Enthusiast
Posts: 404
Joined: Sat Apr 26, 2003 5:08 pm
Location: Denmark

Post by Henrik »

hi uhm you :roll:
the PureBasic27986232.exe is the last source you ran.
when you choose run in the editor, Pb compiles it to the compilers directory and then run it from there.

Regards
Henrik
^OO^
User
User
Posts: 27
Joined: Mon Apr 28, 2003 5:58 am
Location: United Kingdom
Contact:

Post by ^OO^ »

Thank you Hendrik

I'll keep a watch on that directory while I fiddle :)
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Post by GPI »

>PureBasic27986232.exe

No, the number always change.

GPI
Henrik
Enthusiast
Enthusiast
Posts: 404
Joined: Sat Apr 26, 2003 5:08 pm
Location: Denmark

Post by Henrik »

Noooo it's "PureBasic"+ str(Fred's birthday)+".exe" 8O

of course GPI, that's why i said .. "Last source" :mrgreen:

Regards
Henrik..
Post Reply