We've been trying to place gcc-python-plugin into a docker container, in
order to simplify the process of generating these refcount reports.
What we have *almost* works, but I've realized that there's a
cross-compiler type issue; the compiler's environment and the target
environment are different.
Can anyone help me set up a cross compiler for this purpose?
I'm not familiar enough with gcc to know if this is even easy or hard.
Here's our work thus far:
https://github.com/bukzor/MySQLdb1/tree/dockerfile
To try it out:
1. Make sure docker is installed.
2. If your binary isn't docker.io, export DOCKER=docker
3. make refcount