When I try to make a 32-bit executable (-m32) I get the following error:
ireid@server01:~/ng3$ gfortran -O4 -m32 -ffast-math ng3.for
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.2.3/libgfortranbegin.a when searching for -lgfortranbegin
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.2.3/libgfortranbegin.a when searching for -lgfortranbegin
/usr/bin/ld: cannot find -lgfortranbegin
collect2: ld returned 1 exit status
Using synaptic I've loaded the lib32gfortran2 package, but that
doesn't include a 32-bit libgfortranbegin. A bit of googling suggests it
should live in a .../4.2.3/32/ subdirectory. Does anyone know which package
I have to install to get it, or another way around the problem?
--
Ivan Reid, School of Engineering & Design, _____________ CMS Collaboration,
Brunel University. Ivan.Reid@[brunel.ac.uk|cern.ch] Room 40-1-B12, CERN
KotPT -- "for stupidity above and beyond the call of duty".