I have a fortran library and a c++ library that I need to compile into dynamically linked shared object libraries (they will link to each other). I have a requirement to use gcc 4.1. I have a feeling that I should use gfortran 4.1 as well, but am having a hard time getting it. How important is it that the compilers versions match?