Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
mod, file was built for unsupported file format which is not the architecture linked
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="LBth" data-source="post: 1123105" data-attributes="member: 175043"><p>Hi,</p><p></p><p>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:</p><p></p><p>ld: in xxxx.mod, file was build for unsupported file format which is not the architecture being linked (x86_64)</p><p></p><p>I am using the flag -m64 for compilation, so I guess gfortran should generate mod-files for 64-bit (?).</p><p></p><p>I would greatly appreciate your help with this question as I could not find anything about this problem so far on the Internet.</p><p></p><p>With kind regards</p><p></p><p> Lars</p></blockquote><p></p>
[QUOTE="LBth, post: 1123105, member: 175043"] Hi, 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 Lars [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
mod, file was built for unsupported file format which is not the architecture linked
Top