sandrot
Joined: 20 Dec 2006 Posts: 1
|
Posted: Thu Dec 21, 2006 11:01 am Post subject: Mixing C/C++ Fortran |
|
|
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 |
|