soccer jersey forums.silverfrost.com :: View topic - Mixing C/C++ Fortran
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Mixing C/C++ Fortran

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
sandrot



Joined: 20 Dec 2006
Posts: 1

PostPosted: Thu Dec 21, 2006 11:01 am    Post subject: Mixing C/C++ Fortran Reply with quote

Hi Everybody
I've just installed on my PC with Windows Plato3 rel. 3.40 and their compilers FTN95 and scc, everyting's OK till now.
I'm deeply interested in mixing code: I'd like to use classic fortran libraries in my C/C++ code, the set FTN95 scc and slink works fine, and so FTN95 with other compilers (g77, cpp, etc...).
My trouble comes out when I try to use my favorite C++ Builder 6.0 (bcc32): its answer is always:
[Linker Error] 'C:\MIXING_CODE\FFUNCTION.OBJ' contains invalid OMF record, type 0x4c (possibly COFF).
This bad result as far as I checked is independent from the fortran source and compiled code.
Both FTN95 and bcc32 are for Windows, so I haven't the faintest idea how to solve this problem!
Thank you very much for your help.
sandrot
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8012
Location: Salford, UK

PostPosted: Thu Dec 21, 2006 3:55 pm    Post subject: Reply with quote

If you can, you should do your final C++ build using SCC which is shipped with FTN95.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group