Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29280 Discussions

Compile Static Library and DLL To Run on 64 bit Platform

Ngu_Soon_Hui
Beginner
717 Views

Hello,

I am planning to distribute my fortran application that makes use of mkl in both 32 and 64 bit format.

Is there a tutorial that teaches me on how to do this (namely compile the fortran dll as 64 bit dll as compiling in 32 bit is well known)?

I am on Windows XP 32 bit and I want to compile both 32 and 64 bit from a single machine.

0 Kudos
2 Replies
TimP
Honored Contributor III
716 Views

This question seems extremely broad. We can't guess which specific questions you may have.

As you must know, you have the choice of distributing a 32-bit version which will run also on 64 bit. If you make both 32- and 64-bit versions, you wont' be able to test the latter on the 32-bit system.

You would likely make separate projects, as not only do you need to switch the compilers between X86 and X64, you must change the names of the MKL libraries.

0 Kudos
Ngu_Soon_Hui
Beginner
717 Views

As you must know, you have the choice of distributing a 32-bit version which will run also on 64 bit. If you make both 32- and 64-bit versions, you wont' be able to test the latter on the 32-bit system.

Yes, this is what I have in mind. I don't really mind that I can't test 64 bit app on 32 bit system. I can always test 64 bit app on 64 bit system after compiling the 64 bit app on 32 bit system.

You would likely make separate projects, as not only do you need to switch the compilers between X86 and X64, you must change the names of the MKL libraries.

Is there a tutorial for this?
0 Kudos
Reply