I've been asked to recreate a build of GCC 4.5.1 on both Red Hat 6 and Solaris 10. There are existing Red Hat 6 machines with 4.5.1 installed. The last Solaris 10 machine recently ate itself; hence, my inherited joy.
No one around knows what dependencies GCC was built with. We can easily get the configure options with gcc -v, but which versions of GMP, MPC, and MPFR were used is a mystery. I've tried:
- ldd
- strings
- gcc -dM -E
- find $GCC_DIR -name *gmp*
- find $GCC_DIR -name *.h | xargs grep -i gmp $1
Thanks in advance for your assistance.