Re: New Extension: tcc
| From: | Tsukasa Hamano | Date: | Tue, 11 Mar 2008 09:22:47 +0000 |
| Subject: | Re: New Extension: tcc | ||
| References: | 1 2 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-5168@lists.php.net to get a copy of this message | ||
Thanks for the reply.
At Tue, 11 Mar 2008 09:05:53 +0100,
Pierre Joye wrote:
>
> As Inline_C is not maintained, yes. Such extension makes sense (to be
> used carefully ;).
>
> Do you have some code to show and/or a package to test?
>
I'm writing test code now. I'll publish this in several days.
The simple PHP sample code as follows:
dl('modules/tcc.so');
$tcc = tcc_new();
tcc_compile_string($tcc, 'void main(){php_printf("hello world\n");}');
tcc_run($tcc);
Regards,
--
Tsukasa Hamano <hamano@klab.org>