Le dimanche 06 juin 2010 à 22:13 +0200, Samuel Thibault a écrit : > Olivier Cessenat, le Sun 06 Jun 2010 22:06:51 +0200, a écrit : > > [cessenat@valerie hwloc-1.0.1]$ which gcc > > /usr/bin/gcc > > > > It's only gfortran that I have in opt. > > And its bin/ directory only contains bin/gfortran? or does it perhaps > also contain cpp? Oups... << [cessenat@valerie hwloc-1.0.1]$ ls -al /opt/gfortran/irun/bin total 3012 drwxr-xr-x 2 1005 1011 4096 oct 30 2007 ./ drwxr-xr-x 9 1005 1011 4096 oct 30 2007 ../ -rwxr-xr-x 1 1005 1011 485379 oct 30 2007 cpp* -rwxr-xr-x 3 1005 1011 482904 oct 30 2007 gcc* -rwxr-xr-x 1 1005 1011 15977 oct 30 2007 gccbug* -rwxr-xr-x 1 1005 1011 100177 oct 30 2007 gcov* -rwxr-xr-x 2 1005 1011 491995 oct 30 2007 gfortran* -rwxr-xr-x 3 1005 1011 482904 oct 30 2007 i386-pc-linux-gnu-gcc* -rwxr-xr-x 3 1005 1011 482904 oct 30 2007 i386-pc-linux-gnu-gcc-4.3.0* -rwxr-xr-x 2 1005 1011 491995 oct 30 2007 i386-pc-linux-gnu-gfortran* [cessenat@valerie hwloc-1.0.1]$ /opt/gfortran/irun/bin/gcc -dumpversion 4.3.0 [cessenat@valerie hwloc-1.0.1]$ gcc -dumpversion 4.0.1 >>
> > Removing it from the path makes it compile. > > Ok. I really believe installing a very new compiler on a very old > system was the culprit :) I agree ! Olivier.