Thanks for the info Gregory.
I had to comment out swing, print and imageio packages because they had some issues
Well, this doesn't look like the final version of the porting guide :) Regards, 2007/5/14, Gregory Shimansky <[EMAIL PROTECTED]>:
Alexei Zakharov wrote: > Hi Naveen, > > MSVS 2005 is not currently supported on Win32. However, this task is > in TODO list. Currently supported configurations are: > - MSVS 2003 on win32 > - MSVS 2005 on *win64* > So if you find the way to build working Harmony snapshot using MSVS > 2005 on win32 it will be really cool. I've successfully built classlib (partly) and drlvm with MSVC in the past. For classlib you can add /wd4996 option to depends/build/defines.mak which disables this particular warning. I had to comment out swing, print and imageio packages because they had some issues which I didn't want to care about since I only needed core classlib classes. For drlvm you need to remove <select arch="em64t"> in build/make/targets/common_vm.xml around /wd4996 flag so that it is used for x86 architecture as well and set correct environment variable COMPILER_CFG_SCRIPT. > 2007/5/1, Naveen Neelakantam <[EMAIL PROTECTED]>: >> updated subject line >> >> On Apr 30, 2007, at 8:57 PM, Naveen Neelakantam wrote: >> >> > I am seeing the following error whenever trying to build the >> > classlib using Visual Studio 2005 on 32-bit Windows XP. I realize >> > that VS2003 is the "recommended" SDK, but I don't have access to it. >> > >> > I tried adding "#define _CRT_SECURE_NO_DEPRECATE 1" to strhelp.c, >> > but that didn't help. Has anyone else seen this? >> > >> > Naveen >> > >> > -build-native: >> > [exec] cl -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -GS >> > -FIsehmap.h -D_X86_=1 -DWIN32 -D_WIN32 -W3 -D_WIN95 - >> > D_WIN32_WINDOWS=0x0400 /D_WIN32_DCOM -D_WIN32_IE=0x0500 - >> > DWINVER=0x0400 -Zi -Od -WX -GF -Gs -MD -Zm400 -D_DLL -D_MT - >> > D_WINSOCKAPI_ /IC:\Sandbox\Harmony\trunk\working_classlib\deploy >> > \include /IC:\Sandbox\Harmony\trunk\working_classlib\deploy\jdk >> > \include /I. /I..\shared\ -Fo..\shared\strhelp.obj ..\shared\strhelp.c >> > [exec] strhelp.c >> > [exec] ..\shared\strhelp.c(73) : error C2220: warning treated >> > as error - no 'object' file generated >> > [exec] ..\shared\strhelp.c(73) : warning C4996: 'strcat' was >> > declared deprecated >> > [exec] C:\Program Files\Microsoft Visual Studio 8\VC >> > \INCLUDE\string.h(78) : see declaration of 'strcat' >> > [exec] Message: 'This function or variable may be >> > unsafe. Consider using strcat_s instead. To disable deprecation, >> > use _CRT_SECURE_NO_DEPRECATE. See online help for details.' >> > [exec] NMAKE : fatal error U1077: '"C:\Program Files\Microsoft >> > Visual Studio 8\VC\BIN\cl.EXE"' : return code '0x2' >> > [exec] Stop.
-- Alexei Zakharov, Intel ESSD
