This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Backporting the 4.5 plugin framework to 3.4.5
- From: Kyle Girard <kyle at kdmanalytics dot com>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 21 Jan 2011 16:12:11 -0500
- Subject: Backporting the 4.5 plugin framework to 3.4.5
Hello,
I currently have a plugin for gcc 4.5 that works great. However, the
need has arisen to have the same plugin run on gcc 3.4.5. Knowing
that the plugin api wasn't added until 4.5 I was wondering if anyone
could tell me how much pain i would be in for if I attempt to backport
the plugin api to gcc 3.4.5. Is it even possible or are 3.X.X and 4.5.X
so different that it shouldn't even be attempted.
Do I just have to insert call backs in a bunch of places or do I have
to get way deeper in the guts of gcc to retrieve the same data as I can
get in gcc 4.5?
Cheers,
Kyle