Page 1 of 1
Compiling Questions
Posted: Mon Sep 24, 2018 8:14 pm
by vwidmer
1. Is it possible to run a script (bash) automatically after "Create Executable"?
2. Can I work on a program in the PB IDE on one computer but when I compile it have it compiled on another?
Thanks
Re: Compiling Questions
Posted: Mon Sep 24, 2018 8:54 pm
by bbanelli
vwidmer wrote:1. Is it possible to run a script (bash) automatically after "Create Executable"?
Tools -> Configure Tools.
Re: Compiling Questions
Posted: Mon Sep 24, 2018 9:20 pm
by vwidmer
Ok thanks for that.. I never checked that out.

Re: Compiling Questions
Posted: Tue Sep 25, 2018 4:52 am
by TI-994A
vwidmer wrote:2. Can I work on a program in the PB IDE on one computer but when I compile it have it compiled on another?
Yes. Code written on a PC could even be compiled on a Mac,
and vice versa, so long as the platform-specific conditions
(if any) are properly handled; and all external resources
(eg. files, images, sounds, etc.) are also ported along.
But, code compiled on a PC would only run on PCs, and code compiled on a Mac would only run on Macs. Cross-compilation is not possible.
The same conditions apply to Linux as well, of course.
Re: Compiling Questions
Posted: Tue Sep 25, 2018 1:30 pm
by vwidmer
@TI-994A: Yes, I think maybe I need to clarify my question.
Yes lets say I have a cross platform code and I am working on my linux desktop I compile it works good now I want to compile it on the osx system. Is there way to compile it from my linux PB IDE remotely over ssh or some other way?
Thanks
Re: Compiling Questions
Posted: Tue Sep 25, 2018 1:42 pm
by TI-994A
vwidmer wrote:...lets say I have a cross platform code and I am working on my linux desktop I compile it works good now I want to compile it on the osx system. Is there way to compile it from my linux PB IDE remotely over ssh or some other way?
Not directly from within the PureBasic IDE. But through the use of remote desktops and cloud storage, it should be quite doable.