[ЗАКРЫТО] В чем может быть проблема, intel fortran for EM64T

vertyal17

Установил Visual Studio 2003, Microsoft SDK Feb 2003, Intel fortran EM64T
>ifort gg.for
...
-subsystem:console
-entry:mainCRTStartup
e303bt10.obj
e303bt10.obj : fatal error LNK1136: invalid or corrupt file
при этом intel fortran itanuim, intel fortran IA-32 компилируют тот же файл.
В чем может быть проблема?
Или если проблему так установить не получится, то что можно сделать (например чтото переустановить, другую студию и т.п.) чтобы вдруг заработало?

vertyal17

http://www.intel.com/software/products/compilers/cwin/docs/I...
Due to an incompatible change made by Microsoft in the Windows* calling standard, code compiled and built for systems with Intel® EM64T against versions of the Microsoft* Platform SDK earlier than Build 3790.1289, including those compiled with version 8.1.015 or earlier of the Intel C++ or version 8.1.014 or earlier of the Intel Fortran Compilers, must be recompiled with the version 9.0 compiler and with Build 3790.1289 or later of the Platform SDK. Failure to do so could cause unpredictable application failures when run on newer versions of Microsoft Windows*, including Windows XP* Professional x64 Edition and Windows Server 2003* x64 Edition. Please see the section below on obtaining the correct version of the Microsoft Platform SDK.
....
Software Requirements to Develop Applications for Systems with Intel EM64T or AMD Opteron Processors
Microsoft Windows 2000*, Windows XP* or Windows Server 2003*
Microsoft Platform SDK for Windows Server 2003 (Build 1289 or later - earlier builds will not work. Please see the note below for more information.)
....

Может дело в этом...
Как узнать, какой built у SDK ?

durka82

Попробуй откомпилировать той же командой, которой компилируется под vs 2003.

vertyal17

Компилил >ifort text.for, и под IE32, и под EM64T одинаковой командой.
А в 2003, там я так понимаю добавляются несущественные ключи, типа оптимизация, Qunroll.
ifort text.for /nologo /Ob2 /G5 /Qunroll1000 /c
Создает .obj файл, без сообщений об ошибке.
ifort text.for /nologo /Ob2 /G5 /Qunroll1000
Та же самая fatal error

vertyal17

Ну вобщем дело оказалось в старом SDK
SDK2003Sp1 както сильно рулит над SDK2003
Оставить комментарий
Имя или ник:
Комментарий: