harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Zakharov" <alexei.zakha...@gmail.com>
Subject Re: [general] Harmony enabling at Windows / x86_64
Date Tue, 20 Feb 2007 12:17:25 GMT
Ivan,

I have problems with compiling the native part of classlib+your patch
on Win64. I've got the following:

-build-native:
     [exec]     cl -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -GS
-FIsehmap.h -D_AMD64_=1 -DW
IN64 -D_WIN64  -DWIN32 -D_WIN32 /FIPRE64PRA.H -Wp64 -W4 -D_WIN95
-D_WIN32_WINDOWS=0x0400 /D_WIN
32_DCOM -D_WIN32_IE=0x0500 -DWINVER=0x0400 -Zi -Od -W0 -GF -Gs -MD
-Zm400  -D_DLL -D_MT -D_WINS
OCKAPI_  /IC:\ayza_docs\cl\deploy\include
/IC:\ayza_docs\cl\deploy\jdk\include /I. /I..\shared\
 -Fo..\shared\libglob.obj ..\shared\libglob.c
     [exec] cl : Command line warning D9025 : overriding '/W4' with '/W0'
     [exec] libglob.c
     [exec]     cl -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -GS
-FIsehmap.h -D_AMD64_=1 -DW
IN64 -D_WIN64  -DWIN32 -D_WIN32 /FIPRE64PRA.H -Wp64 -W4 -D_WIN95
-D_WIN32_WINDOWS=0x0400 /D_WIN
32_DCOM -D_WIN32_IE=0x0500 -DWINVER=0x0400 -Zi -Od -W0 -GF -Gs -MD
-Zm400  -D_DLL -D_MT -D_WINS
OCKAPI_  /IC:\ayza_docs\cl\deploy\include
/IC:\ayza_docs\cl\deploy\jdk\include /I. /I..\shared\
 -Fo..\shared\iohelp.obj ..\shared\iohelp.c
     [exec] cl : Command line warning D9025 : overriding '/W4' with '/W0'
     [exec] iohelp.c
     [exec]     cl -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -GS
-FIsehmap.h -D_AMD64_=1 -DW
IN64 -D_WIN64  -DWIN32 -D_WIN32 /FIPRE64PRA.H -Wp64 -W4 -D_WIN95
-D_WIN32_WINDOWS=0x0400 /D_WIN
32_DCOM -D_WIN32_IE=0x0500 -DWINVER=0x0400 -Zi -Od -W0 -GF -Gs -MD
-Zm400  -D_DLL -D_MT -D_WINS
OCKAPI_  /IC:\ayza_docs\cl\deploy\include
/IC:\ayza_docs\cl\deploy\jdk\include /I. /I..\shared\
 -Fo..\shared\exceptions.obj ..\shared\exceptions.c
     [exec] cl : Command line warning D9025 : overriding '/W4' with '/W0'
     [exec] exceptions.c
     [exec]     cl -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -GS
-FIsehmap.h -D_AMD64_=1 -DW
IN64 -D_WIN64  -DWIN32 -D_WIN32 /FIPRE64PRA.H -Wp64 -W4 -D_WIN95
-D_WIN32_WINDOWS=0x0400 /D_WIN
32_DCOM -D_WIN32_IE=0x0500 -DWINVER=0x0400 -Zi -Od -W0 -GF -Gs -MD
-Zm400  -D_DLL -D_MT -D_WINS
OCKAPI_  /IC:\ayza_docs\cl\deploy\include
/IC:\ayza_docs\cl\deploy\jdk\include /I. /I..\shared\
 -Fo..\shared\strhelp.obj ..\shared\strhelp.c
     [exec] cl : Command line warning D9025 : overriding '/W4' with '/W0'
     [exec] strhelp.c
     [exec]     ml /Fowindows.x86_64/locklbl.obj /c /Cp /W3 /nologo
/coff /Zm /Zd /Zi /Gd  -DWI
N32 windows.x86_64/locklbl.asm
     [exec]  Assembling: windows.x86_64/locklbl.asm
     [exec]     cl -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -GS
-FIsehmap.h -D_AMD64_=1 -DW
IN64 -D_WIN64  -DWIN32 -D_WIN32 /FIPRE64PRA.H -Wp64 -W4 -D_WIN95
-D_WIN32_WINDOWS=0x0400 /D_WIN
32_DCOM -D_WIN32_IE=0x0500 -DWINVER=0x0400 -Zi -Od -W0 -GF -Gs -MD
-Zm400  -D_DLL -D_MT -D_WINS
OCKAPI_  /IC:\ayza_docs\cl\deploy\include
/IC:\ayza_docs\cl\deploy\jdk\include /I. /I..\shared\
 -Folock386.obj lock386.c
     [exec] cl : Command line warning D9025 : overriding '/W4' with '/W0'
     [exec] lock386.c
     [exec]     cl -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -GS
-FIsehmap.h -D_AMD64_=1 -DW
IN64 -D_WIN64  -DWIN32 -D_WIN32 /FIPRE64PRA.H -Wp64 -W4 -D_WIN95
-D_WIN32_WINDOWS=0x0400 /D_WIN
32_DCOM -D_WIN32_IE=0x0500 -DWINVER=0x0400 -Zi -Od -W0 -GF -Gs -MD
-Zm400  -D_DLL -D_MT -D_WINS
OCKAPI_  /IC:\ayza_docs\cl\deploy\include
/IC:\ayza_docs\cl\deploy\jdk\include /I. /I..\shared\
 -Fo..\shared\utf8decode.obj ..\shared\utf8decode.c
     [exec] cl : Command line warning D9025 : overriding '/W4' with '/W0'
     [exec] utf8decode.c
     [exec]     cl -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -GS
-FIsehmap.h -D_AMD64_=1 -DW
IN64 -D_WIN64  -DWIN32 -D_WIN32 /FIPRE64PRA.H -Wp64 -W4 -D_WIN95
-D_WIN32_WINDOWS=0x0400 /D_WIN
32_DCOM -D_WIN32_IE=0x0500 -DWINVER=0x0400 -Zi -Od -W0 -GF -Gs -MD
-Zm400  -D_DLL -D_MT -D_WINS
OCKAPI_  /IC:\ayza_docs\cl\deploy\include
/IC:\ayza_docs\cl\deploy\jdk\include /I. /I..\shared\
 -Fo..\shared\utf8encode.obj ..\shared\utf8encode.c
     [exec] cl : Command line warning D9025 : overriding '/W4' with '/W0'
     [exec] utf8encode.c
     [exec]     lib /NOLOGO -subsystem:windows
-out:C:\ayza_docs\cl\deploy\lib\hycommon.lib   -
machine:AMD64  ..\shared\libglob.obj ..\shared\iohelp.obj
..\shared\exceptions.obj ..\shared\s
trhelp.obj  windows.x86_64/locklbl.obj lock386.obj
..\shared\utf8decode.obj ..\shared\utf8enco
de.obj
     [exec] windows.x86_64/locklbl.obj : fatal error LNK1112: module
machine type 'X86' conflic
ts with target machine type 'x64'
     [exec] NMAKE : fatal error U1077: '"C:\Program Files
(x86)\Microsoft Visual Studio 8\VC\BI
N\amd64\lib.EXE"' : return code '0x458'
     [exec] Stop.

Any ideas?

Thanks,

2007/2/16, Ivan Zvolsky <i.zvolsky@gmail.com>:
> Hello,
>
> Some time ago, I found out that Harmony is not buildable on Windows / x86_64
> (EM64T).
> I tried to reanimate at least the build which has required to update both
> classlib and drlvm build files, create stubs for some functions, etc.
>
> I've put my results (for now only classlib part) to HARMONY-3188.
> Could someone take a look? The comments are welcome.
>
> In particular, Geir might want to look at the first comment in the
> description :)
>
> Thanks,
> Ivan

-- 
Alexei Zakharov,
Intel ESSD

Mime
View raw message