ld: mod, file was built for unsupported file format which is not the architecture being linked (x86_64)
Lars Beuth
lars.beuth@gmail.com
Fri Oct 8 20:37:00 GMT 2010
Hi,
I am using gfortran 4.6.0 on Mac Snow Leopard 64-bit to compile some
Fortran code that I wrote. The module and object files are generated
but when linking the application ld gives the following error message:
ld: in xxxx.mod, file was build for unsupported file format which is
not the architecture being linked (x86_64)
I am using the flag -m64 for compilation, so I guess gfortran should
generate mod-files for 64-bit (?).
I would greatly appreciate your help with this question.
With kind regards
Lars
More information about the Fortran
mailing list