Re: How to create and exe file on Windows with Bcompiler ?
| From: | Eric Colinet | Date: | Sun, 16 Jan 2005 19:33:49 +0000 |
| Subject: | Re: How to create and exe file on Windows with Bcompiler ? | ||
| References: | 1 2 3 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-1804@lists.php.net to get a copy of this message | ||
Hi Aurelian,
Yes, If you select a 'window less' project as a project type (Not tested but should work, maybe after turning off/buffered on the output - so ugly !).
I've also released a small utility to build executables files from PHP scripts at (http://wildphp.free.fr/wiki/doku.php?id=win32std:embeder).
Good things are: you don't need a compiler, you can also add any kind of data used by the script and it doesn't alter the scripts.
Currently it's not possible to create a window-less app but I'll add it (to do as good as php-win ;-)).
A Question for the king:
Is the Perl license compatible with the Php license ?
Eric
aurelian wrote:
Hi Eric, Is there a way to remove the dos window? Tanks. On Sat, 15 Jan 2005 20:04:41 +0100, Eric Colinet wrote:Hi Kioto, bcompiler is not a compiler the way you think it is since it doesn't produce an executable file. It's purpose is to write out an encoded representation of the bytecode (ie: the result of the internal compilation of a script, just before it's execution). To create a self executable there is multiple ways, one of wich could be using the embed sapi and win32std. The idea is to use the resources of Windows binaries to store the PHP scripts (that can be 'compiled' using bcompiler). You can find an HOWTO on my wiki: http://wildphp.free.fr/wiki/doku.php?id=howto:embeding_a_php_source_into_a_windows_executable_file Hope you'll find that usefull :-) Eric kioto wrote:Hi all, i want create an executable file for a PHP-GTk script on windows it's possible with Bcompiler ? I must solve this poblem because cannot use the php interpreter from the command-line i want create a stand alone application. Thanks so much to all.