New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

mod, file was built for unsupported file format which is not the architecture linked


Post Reply New Thread Subscribe

 
Thread Tools
LBth

 
Member Since: Oct 08, 2010
Posts: 1
LBth is on a distinguished road

LBth is offline
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 Thanks

Post Reply New Thread Subscribe


« Customising HUD Window | A simple example for calling an existing java code from c using jni? »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
best file format for music file on webpage wrightm Web Design and Hosting 6 10-24-2007 11:47 PM
Not too pleased with new iMac JunMacTech Apple Desktops 14 12-05-2005 07:13 PM
Can you guys open this site? Desolate One OS X - Apps and Games 13 04-29-2005 01:23 PM
A few file format questions fatman OS X - Operating System 2 06-23-2004 10:59 PM

All times are GMT -4. The time now is 01:01 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?