This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Seperate the c front-end from GCC
- From: "Fabian Scheler" <fabian dot scheler at gmail dot com>
- To: "Haizhou LING" <haizhouling at gmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 25 Jan 2008 13:20:17 +0100
- Subject: Re: Seperate the c front-end from GCC
- References: <15048379.post@talk.nabble.com>
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