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

Compiling 64-Bit Libraries

tom_c_lin
Beginner
975 Views

Hi Everyone,

I am trying to learn to how to compile 64-bit libraries with IVF. My questions are

1. How to tell the compiler to compile a 64-bit library. Any switch/option to select?

2. Can I work from my workstation (32-bit Window) and log onto a 64-bit server (64-bit Window)? Or I will need to work from a 64-bit workstation.

3. In compiling a 32-bit library, I need to have ODBC32.lib (come with Microsoft Visual Studio). What is the equivalent one for 64-bit Window system? ODBC64.lib or ODBC64.dll?

Thanks in advance. Good Day.

Tom Lin

0 Kudos
2 Replies
Steven_L_Intel1
Employee
975 Views

Are you using VS2005? That's required if you want to build 64-bit applications in VS.

If so, look at the Intel Fortran on-disk documentation under Building Applications > Building Applications from Microsoft Visual Studio > Specifying a Target Platform for Solutions and Projects. You use a different compiler for the x64 platform, and this is how you select it.

Note that if you have the Professional Edition or higher of Visual Studio, you have to choose a Custom Install and add in the x64 target application option.

You can build 64-bit apps from a 32-bit system, as long as you have the proper support in VS.

It seems to be odbc32.lib on x64 as well. It is provided by VS2005.

0 Kudos
tom_c_lin
Beginner
975 Views

Thanks for the prompt reply Steve. Have a great day.

Tom Lin

0 Kudos
Reply