Thread overview
Visual Fortran and digital mars?
Oct 03, 2001
digital mars
Oct 03, 2001
Walter
Oct 04, 2001
digital mars
Oct 04, 2001
Walter
October 03, 2001
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


October 03, 2001
"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.


October 04, 2001
>
> 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



October 04, 2001
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.