Re: Bug#325371: ITP: binfmtc -- a binfmt_misc hook for running C programs as scripts

2005-08-29 Thread Junichi Uekawa
Hi, Are you sure? http://fabrice.bellard.free.fr/tcc/ claims it produces optimized x86 code, which could be a problem on other archs. TCC does some simple local optimizations (AIUI, some peephole optimization, and simple intra-statement linear register allocation), but calling it an

Re: Bug#325371: ITP: binfmtc -- a binfmt_misc hook for running C programs as scripts

2005-08-28 Thread Romain Francoise
Junichi Uekawa [EMAIL PROTECTED] writes: I would be interested to know if there is any existing tool that does something similar, and also if anyone finds use for such system. TCC does C scripting, but it's nowhere near as complete as GCC and while it runs much faster, the resulting code is

Re: Bug#325371: ITP: binfmtc -- a binfmt_misc hook for running C programs as scripts

2005-08-28 Thread Wouter van Heyst
On Sun, Aug 28, 2005 at 12:21:42PM +0200, Romain Francoise wrote: Junichi Uekawa [EMAIL PROTECTED] writes: I would be interested to know if there is any existing tool that does something similar, and also if anyone finds use for such system. TCC does C scripting, but it's nowhere near as

Re: Bug#325371: ITP: binfmtc -- a binfmt_misc hook for running C programs as scripts

2005-08-28 Thread Antti-Juhani Kaijanaho
Wouter van Heyst wrote: Are you sure? http://fabrice.bellard.free.fr/tcc/ claims it produces optimized x86 code, which could be a problem on other archs. TCC does some simple local optimizations (AIUI, some peephole optimization, and simple intra-statement linear register allocation), but

Bug#325371: ITP: binfmtc -- a binfmt_misc hook for running C programs as scripts

2005-08-27 Thread Junichi Uekawa
Package: wnpp I'm planning on uploading binfmtc to Debian. It is a binfmt_misc hook that allows using C source as if they were scripts. It invokes gcc and runs the resulting binary. I would be interested to know if there is any existing tool that does something similar, and also if anyone