Hello Pierre DELAAGE, Now i Am Following our Steps. I Changed File makece.bat and wcedefs.bat file. also make a Chnage in Bat File of WCEARMV4. Title WCE ARMV4 Environment
MYBAT FILE IS:- You are Setting Platform is PLATFORM=STANDARDSDK WHat is STANDARDSDK? REM This batch file sets up an environment for building for a specific CPU from the command line. REM The build environment defaults to the Standard SDK for Windows CE .NET platform. The macros that control the REM platform are: PLATFORM, OSVERSION, WCEROOT and SDKROOT. The Standard SDK for Windows CE .NET default settings REM are as follows: REM PLATFORM=STANDARDSDK REM OSVERSION=WCE600 REM WCEROOT=C:\Windows CE Tools //Root dir for VCCE REM SDKROOT=C:\Windows CE Tools //Root dir for Standard SDK for Windows CE .NET REM The batch file uses these macros to set the PATH, INCLUDE, LIB macros for the default REM platform. Please note that if the default setup options were altered during REM installation (for example, if the install directories were changed), then the user needs REM to modify these macros accordingly. if "%OSVERSION%"=="" set OSVERSION=WCE600 if "%PLATFORM%"=="" set PLATFORM=STANDARDSDK if "%WCEROOT%"=="" set WCEROOT=C:\Program Files\Microsoft eMbedded C++ 4.0 if "%SDKROOT%"=="" set SDKROOT=C:\Program Files\Microsoft SDKs.. The Customization of mywcebuild.bat @echo off :: created by pdelaage on 20100928 :: usage : makece ARMV4|X86|... other targets: see bat scripts in evc/bin :: Note : adapt EVC/bin/WCE<target>.bat scripts Title WCE COMPAT :: !!!!!!!!!!!!!! :: CUSTOMIZE THIS according to your EVC INSTALLED ENVIRONMENT :: !!!!!!!!!!!!!! set OSVERSION=WCE600 set PLATFORM=STANDARDSDK set WCEROOT=C:\Program Files\Microsoft eMbedded C++ 4.0 set SDKROOT=C:\Program Files\Microsoft SDKs :: !!!!!!!!!!!!!!!!!! :: END CUSTOMIZATION :: !!!!!!!!!!!!!!!!!! :: Define TARGET CPU :: ----------------- :: define "new" target (useful if one wants to compile for various WCE target CPUs) if "%1"=="" echo "USAGE : makece TARGETCPU other_make_options..." if "%1"=="" echo "TARGETCPU=(ARMV4|ARMV4I|ARMV4T|R4100|R4111|R4300|SH3|SH4|X86|X86EM|X86EMnset), other cpu: see wcedefs.mak and bat scripts in evc/bin" if "%1"=="" echo "do not hesitate to adapt this script for CPU and/or better compilation flags!" if "%1"=="" exit /B :: old code to default to ARMV4, but it is better that users are WARNED that the script now need an explicit target! ::if "%1"=="" set NEWTGTCPU=ARMV4 if NOT DEFINED TARGETCPU set TARGETCPU=XXXXX if NOT "%1"=="" set NEWTGTCPU=%1 if NOT "%1"=="" shift echo WCE TARGET CPU is %NEWTGTCPU% rem Adjust MS EVC env vars rem ---------------------- rem Check MSenv vars against our ref values set isenvok=0 if "%NEWTGTCPU%"=="%TARGETCPU%" set /A "isenvok+=1" if %isenvok%==1 echo WCE ENVIRONMENT OK if %isenvok%==1 goto envisok :: if env is NOT ok, adjust MS EVC env vars to be used by MS WCE<CPU>.BAT :: (this is to avoid repetitive pollution of PATH) echo WCE TARGET CPU changed :: , destroying every obj files :: no more if sep dirs del .\obj\*.obj ::if EXIST .\obj\%TARGETCPU% del .\obj\%TARGETCPU%\*.obj :: if env is NOT ok, adjust MS EVC env vars to be used by MS WCE<CPU>.BAT :: (this is to avoid repetitive pollution of PATH) echo WCE ENVIRONMENT ADJUSTED ::call "C:\Program Files\Microsoft eMbedded C++ 4.0\EVC\WCE600\BIN\WCEARMV4.BAT" call "C:\Program Files\Microsoft eMbedded C++ 4.0\EVC\WCE600\BIN\WCEARMV4.BAT" set TARGETCPU=%NEWTGTCPU% :envisok ::exit /B rem make everything rem --------------- nmake /NOLOGO -f makefile %1 %2 %3 %4 %5 %6 %7 %8 %9 Is This Allright? and WCEDEFS.mak File # 20100928 pdelaage : PLATFORM is STANDARDSDK... # Set WCEVERSION and WCELDVERSION !IF "$(OSVERSION)"=="WCE200" WCEVERSION=200 WCELDVERSION=2.00 !ELSEIF "$(OSVERSION)"=="WCE201" WCEVERSION=201 WCELDVERSION=2.01 !ELSEIF "$(OSVERSION)"=="WCE210" WCEVERSION=210 WCELDVERSION=2.10 !ELSEIF "$(OSVERSION)"=="WCE211" WCEVERSION=211 WCELDVERSION=2.11 !ELSEIF "$(OSVERSION)"=="WCE212" WCEVERSION=212 WCELDVERSION=2.12 !ELSEIF "$(OSVERSION)"=="WCE300" WCEVERSION=300 WCELDVERSION=3.00 !ELSEIF "$(OSVERSION)"=="WCE420" WCEVERSION=420 WCELDVERSION=4.20 !ELSEIF "$(OSVERSION)"=="WCE600" WCEVERSION=600 WCELDVERSION=6.00 !ELSE !ERROR Unexpected OSVERSION environment variable value !ENDIF # Set WCEPLATFORM to PLATFORM, with spaces replaced with underscores, and uppercased !IF "$(PLATFORM)"=="MS HPC" WCEPLATFORM=MS_HPC !ELSEIF "$(PLATFORM)"=="MS HPC Pro" WCEPLATFORM=MS_HPC_PRO !ELSEIF "$(PLATFORM)"=="ms palm size pc" WCEPLATFORM=MS_PALM_SIZE_PC !ELSEIF "$(PLATFORM)"=="ms pocket pc" WCEPLATFORM=MS_POCKET_PC_2000 !ELSEIF "$(PLATFORM)"=="Pocket PC 2002" WCEPLATFORM=MS_POCKET_PC_2002 !ELSEIF "$(PLATFORM)"=="STANDARDSDK" WCEPLATFORM=STANDARDSDK !ENDIF # Set WCETARGETCPU, WCETARGETCPUDEFS and WCETARGETDEFS WCETARGETDEFS=-DWCEPLATFORM=$(WCEPLATFORM) !IF "$(TARGETCPU)"=="X86" WCETARGETCPU=X86 WCETARGETCPUDEFS=-Dx86 -D_X86_ WCELDFLAGS=/nodefaultlib:oldnames.lib coredll.lib corelibc.lib !ELSEIF "$(TARGETCPU)"=="X86EM" || "$(TARGETCPU)"=="X86EMnset CFG=none" WCETARGETCPU=X86 WCETARGETCPUDEFS=-Dx86 -D_X86_ WCETARGETDEFS=$(WCETARGETDEFS) -D_WIN32_WCE_EMULATION !ELSEIF "$(TARGETCPU)"=="SH3" WCETARGETCPU=$(TARGETCPU) WCETARGETCPUDEFS=-DSH3 -D_SH3_ -DSHx !ELSEIF "$(TARGETCPU)"=="SH4" WCETARGETCPU=$(TARGETCPU) WCETARGETCPUDEFS=-DSH4 -D_SH4_ -DSHx !ELSEIF "$(TARGETCPU)"=="R4100" || "$(TARGETCPU)"=="R4111" || "$(TARGETCPU)"=="R4300" WCETARGETCPU=$(TARGETCPU) WCETARGETCPUDEFS=-DMIPS -D_MIPS_ -DMIPS_R4000 !ELSEIF "$(TARGETCPU)"=="ARMV4" || "$(TARGETCPU)"=="ARMV4T" || "$(TARGETCPU)"=="ARMV4I" WCETARGETCPU=ARM WCETARGETCPUDEFS=-DARM -D_ARM_ -D_M_ARM -D$(TARGETCPU) -D_$(TARGETCPU)_ #pdelaage 20101020 , this is useless and NOT used anywhere! : WCECC=clarm !ELSE WCETARGETCPU=$(TARGETCPU) WCETARGETCPUDEFS=-D$(TARGETCPU) -D_$(TARGETCPU)_ !ENDIF WCETARGETDEFS=$(WCETARGETDEFS) $(WCETARGETCPUDEFS) -DUNDER_CE=$(WCEVERSION) -D_WIN32_CE=$(WCEVERSION) # Set CPU type for link !IF "$(WCETARGETCPU)"=="X86" #pdelaage 20101020: IX86 is for win32 desktop PC ! WCELDMACHINE=IX86 WCELDMACHINE=X86 !ELSE WCELDMACHINE=$(WCETARGETCPU) !ENDIF and WCEARMV4.bat file WCEARM4.BAT FILE PATH set PATH=%WCEROOT%\COMMON\EVC\bin;%WCEROOT%\EVC\%OSVERSION%\bin;%path% set INCLUDE=%SDKROOT%\%OSVERSION%\%PLATFORM%\include\ARMV4;%SDKROOT%\%OSVERSION%\%PLATFORM%\MFC\include;%SDKROOT%\%OSVERSION%\%PLATFORM%\ATL\include; set LIB=%SDKROOT%\%OSVERSION%\%PLATFORM%\lib\ARMV4;%SDKROOT%\%OSVERSION%\%PLATFORM%\MFC\lib\ARMV4;%SDKROOT%\%OSVERSION%\%PLATFORM%\ATL\lib\ARMV4; There is Not any Directory Structure like This. set INCLUDE=%SDKROOT%\%OSVERSION%\%PLATFORM%\include\ARMV4 VS..... C:\Program Files\Microsoft SDKs\*WCE600\STANDARDSDK\include\ARMV4* In C:\Program Files\Microsoft SDKs Directory Structure +windows --v5.0 --v6.0A -- View this message in context: http://openssl.6102.n7.nabble.com/OPENSSL-for-windows-mobile-5-6-tp38606p50251.html Sent from the OpenSSL - Dev mailing list archive at Nabble.com. ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [email protected] Automated List Manager [email protected]
