Is it possible to import a gimple file into gcc so to generate target code?

2008-01-11 Thread Haizhou LING

Suppose we dump the GIMPLE tree into a file by using gcc option. Is it
possible to import the GIMPLE file into the gcc and generate the target
code?

Thanks a lot for your help.
-- 
View this message in context: 
http://www.nabble.com/Is-it-possible-to-import-a-gimple-file-into-gcc-so-to-generate-target-code--tp14764218p14764218.html
Sent from the gcc - Dev mailing list archive at Nabble.com.



Seperate the c front-end from GCC

2008-01-23 Thread Haizhou LING

Hi all,

I have to use gcc's C parser and the intermediate representation, so that I
can manipulate the basic blocks and CFG. So I need to plug out the parser
and the intermediate code. I would like to know if it is possible to plug
out the parser and the intermediate representation code.

Did someone have any experience on this? Could anyone give some hints on how
to do this?
 
Appreciate your help
Eric
-- 
View this message in context: 
http://www.nabble.com/Seperate-the-c-front-end-from-GCC-tp15048379p15048379.html
Sent from the gcc - Dev mailing list archive at Nabble.com.



Re: Seperate the c front-end from GCC

2008-01-25 Thread Haizhou LING

Hi Fabian,

Thank you very much, I will have a look at it.

Best Regards,
Eric

Fabian Scheler wrote:
> 
> Hello,
> 
>> I have to use gcc's C parser and the intermediate representation, so that
>> I
>> can manipulate the basic blocks and CFG. So I need to plug out the parser
>> and the intermediate code. I would like to know if it is possible to plug
>> out the parser and the intermediate representation code.
> 
> this sound, as if you do not need the rest of gcc ... so just need a
> parser and an appropriate intermediate representation. Maybe you
> should have a look at LLVM (www.llvm.org) in combination with clang
> (clang.llvm.org).
> 
> Ciao, Fabian
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Seperate-the-c-front-end-from-GCC-tp15048379p15091377.html
Sent from the gcc - Dev mailing list archive at Nabble.com.