Finally, proper jvm.dll linking for WP8

This commit is contained in:
Alexey Pelykh 2013-01-30 11:31:06 +02:00
parent d51db00136
commit c6694287e9
2 changed files with 4 additions and 6 deletions

View File

@ -734,14 +734,12 @@ ifeq ($(platform),wp8)
arflags = -MACHINE:$(machine_type)
lflags = $(common-lflags) -nologo \
-MACHINE:$(machine_type) \
-LIBPATH:"$(WP80_KIT)\lib\$(w8kit_arch)" -LIBPATH:"$(WIN8_KIT)\Lib\win8\um\$(w8kit_arch)" -LIBPATH:"$(MSVC_ROOT)\lib$(vc_arch)" \
-LIBPATH:"$(WP80_KIT)\lib\$(w8kit_arch)" -LIBPATH:"$(WP80_SDK)\lib$(vc_arch)" -LIBPATH:"$(WIN8_KIT)\Lib\win8\um\$(w8kit_arch)" \
ws2_32.lib \
"$(shell $(windows-path) "$(wp8)\lib\$(deps_arch)\$(build-type)\zlib.lib")" "$(shell $(windows-path) "$(wp8)\lib\$(deps_arch)\$(build-type)\ThreadEmulation.lib")"
lflags += -NXCOMPAT -DYNAMICBASE -SUBSYSTEM:CONSOLE -TLBID:1
lflags += -NODEFAULTLIB:"ole32.lib" WindowsPhoneCore.lib
lflags += -WINMD -WINMDFILE:$(subst $(so-suffix),.winmd,$(@))
#lflags += -WINMD:NO
#lflags += -APPCONTAINER
lflags += -NODEFAULTLIB:"ole32.lib" -NODEFAULTLIB:"kernel32.lib"
lflags += PhoneAppModelHost.lib WindowsPhoneCore.lib -WINMD -WINMDFILE:$(subst $(so-suffix),.winmd,$(@))
cc = $(cxx)
asm-format = masm

View File

@ -2695,7 +2695,7 @@ throw_(Thread* t, object e)
t->exception = e;
// printTrace(t, e);
printTrace(t, e);
popResources(t);