This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
After GIMPLE...
- From: "Paulo J. Matos" <pocm at soton dot ac dot uk>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 29 Jan 2007 17:17:35 +0000
- Subject: After GIMPLE...
Hi all,
I've been looking into the gcc sources and I'm somewhat confused.
Are gcc/g++ comepletely independent programs or do they share a backend?
This question comes from the fact that I was trying to find a point in
the source where I could get the GIMPLE tree and do with it what ever
I wished to, without modifying too many files but it seems that gcc,
g++ and other frontends have different program flows and only share
some data structures and backend sources. So probably I need to
eliminate the backend call in every frontend and after GIMPLE is
created call my own functions which get the GIMPLE tree and then
compile my files against every frontend. Right?
Regards,
--
Paulo Jorge Matos - pocm at soton.ac.uk
http://www.personal.soton.ac.uk/pocm
PhD Student @ ECS
University of Southampton, UK