Page 1 of 1

Compiling from TextPad

Posted: Tue Apr 29, 2003 11:35 pm
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 :-)

Posted: Tue Apr 29, 2003 11:49 pm
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...

Posted: Wed Apr 30, 2003 12:33 am
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!

Posted: Wed Apr 30, 2003 2:20 am
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

Posted: Wed Apr 30, 2003 3:36 pm
by ^OO^
Thank you Hendrik

I'll keep a watch on that directory while I fiddle :)

Posted: Wed Apr 30, 2003 4:56 pm
by GPI
>PureBasic27986232.exe

No, the number always change.

GPI

Posted: Wed Apr 30, 2003 6:20 pm
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..