<meta http-equiv="Content-Type" content="text/html; charset=GB18030">Hello, everyone:<div>   After I upgrade gcc from 4.4.7 to 5.2.0 under oracle linux 6.7, the system can't pass config mpich 3.1.4 when I run: </div><div>./configure -prefix=/usr/local/share/mpich-3.1.4/ |& tee c.txt </div><div><br></div><div>below is error message:<br><div><div>configure: error: Unable to configure with Fortran support because configure could not determine the size of a Fortran INTEGER.  Consider setting CROSS_F77_SIZEOF_INTEGER to the length in bytes of a Fortran INTEGER</div></div><div><br></div><div>When I use gcc 4.4.7, there's no error to make mpich 3.1.4.</div><div><br></div><div>and below is the process how to upgrade gcc:</div><div><span style="color: rgb(51, 51, 51); font-family: Arial; line-height: 26px;">wget ftp://ftp.gnu.org/gnu/gcc/gcc-5.2.0/gcc-5.2.0.tar.bz2</span><br style="color: rgb(51, 51, 51); font-family: Arial; line-height: 26px;"><span style="color: rgb(51, 51, 51); font-family: Arial; line-height: 26px;">tar -jxvf gcc-5.2.0.tar.bz2</span><br style="color: rgb(51, 51, 51); font-family: Arial; line-height: 26px;"><span style="color: rgb(51, 51, 51); font-family: Arial; line-height: 26px;">cd gcc-5.2.0</span><br style="color: rgb(51, 51, 51); font-family: Arial; line-height: 26px;"><span style="color: rgb(51, 51, 51); font-family: Arial; line-height: 26px;">./contrib/download_prerequisites</span><br style="color: rgb(51, 51, 51); font-family: Arial; line-height: 26px;"><span style="color: rgb(51, 51, 51); font-family: Arial; line-height: 26px;">cd ..</span><br style="color: rgb(51, 51, 51); font-family: Arial; line-height: 26px;"><span style="color: rgb(51, 51, 51); font-family: Arial; line-height: 26px;">mkdir /usr/local/share/gcc-5.2.0</span><br style="color: rgb(51, 51, 51); font-family: Arial; line-height: 26px;"><span style="color: rgb(51, 51, 51); font-family: Arial; line-height: 26px;">./gcc-5.2.0/configure --prefix=/usr/local/share/gcc-5.2.0/ --disable-multilib --enable-languages=c,c++,objc,obj-c++,java,fortran</span><br style="color: rgb(51, 51, 51); font-family: Arial; line-height: 26px;"><span style="color: rgb(51, 51, 51); font-family: Arial; line-height: 26px;">make -j4</span><br style="color: rgb(51, 51, 51); font-family: Arial; line-height: 26px;"><span style="color: rgb(51, 51, 51); font-family: Arial; line-height: 26px;">sudo make install</span></div><div><br></div></div>