Re: Question about source-to-source compilation

2007-02-21 Thread Jim Wilson
Thomas Bernard wrote: framework. For instance, let's say the input language is C and the output language is C annotated with pragmas which are the results of some code analysis (done at middle-end level). It is possible to write a backend that emits C. Sun has one for instance. However, at

Re: Question about source-to-source compilation

2007-02-21 Thread Steven Bosscher
On 2/21/07, Thomas Bernard <[EMAIL PROTECTED]> wrote: Hello all, As far as I know, GCC 4.x is easily retargetable for a new architecture. I would be interested by source-to-source compilation with the GCC framework. For instance, let's say the input language is C and the output language is C ann

Question about source-to-source compilation

2007-02-21 Thread Thomas Bernard
Hello all, As far as I know, GCC 4.x is easily retargetable for a new architecture. I would be interested by source-to-source compilation with the GCC framework. For instance, let's say the input language is C and the output language is C annotated with pragmas which are the results of some c