10-08-2010, 03:28 PM #1
mod, file was built for unsupported file format which is not the architecture linked
- Member Since
- Oct 08, 2010
I am using gfortran 4.6.0 on 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 as I could not find anything about this problem so far on the Internet.
With kind regards
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By Razzle in forum Movies and VideoReplies: 10Last Post: 03-07-2012, 02:20 PM
By Wheres My Hat? in forum Movies and VideoReplies: 9Last Post: 02-03-2010, 03:11 PM
By garden_snail in forum OS X - Operating SystemReplies: 0Last Post: 05-20-2009, 08:42 AM
By Pintage@btinter in forum Movies and VideoReplies: 2Last Post: 06-16-2008, 08:53 AM
By wrightm in forum Web Design and HostingReplies: 6Last Post: 10-24-2007, 11:47 PM