www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

c++ - Visual Fortran and digital mars?

↑ ↓ ← "digital mars" <d96shade dtek.chalmers.se> writes:
I'm trying to build a .dll from a c/c++ file and a fortran 90 file. Is it
possible to link them with the digital mars linker? The fortran 90 file is
compiled with compaq visual fortran and I have an .obj file. Is the object
files compatible?

Thanks!

/Erik
Oct 03 2001
↑ ↓ "Walter" <walter digitalmars.com> writes:
"digital mars" <d96shade dtek.chalmers.se> wrote in message
news:9pffjo$81d$1 digitaldaemon.com...
 I'm trying to build a .dll from a c/c++ file and a fortran 90 file. Is it
 possible to link them with the digital mars linker? The fortran 90 file is
 compiled with compaq visual fortran and I have an .obj file. Is the object
 files compatible?

 Thanks!

 /Erik

The linker will link files in Intel OMF-32 format. If that's what your FORTRAN compiler outputs, the linker can read them.
Oct 03 2001
↑ ↓ "digital mars" <d96shade dtek.chalmers.se> writes:
 The linker will link files in Intel OMF-32 format. If that's what your
 FORTRAN compiler outputs, the linker can read them.

And how do i know that? Is it possible to identify .obj files? /Erik
Oct 04 2001
↑ ↓ → "Walter" <walter digitalmars.com> writes:
digital mars wrote in message <9ph2r0$14jj$1 digitaldaemon.com>...
 The linker will link files in Intel OMF-32 format. If that's what your
 FORTRAN compiler outputs, the linker can read them.

And how do i know that? Is it possible to identify .obj files? /Erik

You can run /dm/bin/dumpobj.exe on it, which will make it pretty obvious. Or consult your FORTRAN compiler documentation.
Oct 04 2001