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

Reply via email to