This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: linking problems
HI,
no idea what library you have there. However:
On 07/24/2012 06:06 PM, Tom Szucs wrote:
I built a 32 bit small library:
gcc -g -m32 ...
/usr/bin/ld: skipping incompatible /geoxfs/libdebug/linux4_6432/libgxinit.a when searching for -lgxinit
Could it be that that file is a 64bit file? Try:
readelf -h /geoxfs/libdebug/linux4_6432/libgxinit.a | grep Class
(or "eu-readelf"). It should print ELF32 and not ELF64.
Tobias