Hi,

At 02 Aug 2005 17:14:52 +0200 Andy Polyakov wrote:
> For my reference. What's /MC? I can't find it on MSDN... Can you post
> output from 'cl /help'?


This is cut from output of clarm /?, which is in WCE300 directory.

---
-LINKING-

/MC link with COREDLL.LIB, CORELIBC.LIB /LDd Create .DLL debug libary
/ML link with COREDLL.LIB, LIBC.LIB /F set stack size
/LD Create .DLL /link [linker options and libraries]

-NOT SUPPORTED IN THIS RELEASE-

/Gd __cdecl calling convention /Gi[-] enable incremental compilation
/Gr __fastcall calling convention /Gm[-] enable minimal rebuild
/Gz __stdcall calling convention /EHs enable synchronous C++ EH
/GA optimize for Windows Application /EHa enable asynchronous C++ EH
/GD optimize for Windows DLL /EHc extern "C" defaults to nothrow
/GZ enable runtime debug checks /ZI enable Edit & Continue debug info
/Ge force stack checking for all funcs /MD link with MSVCRT.LIB
/Gs[num] disable stack checking calls /MT link with LIBCMT.LIB
/Gh enable hook function call /MDd link with MSVCRTD.LIB debug lib
/GR[-] enable C++ RTTI /MLd link with LIBCD.LIB debug lib
/GX[-] enable C++ EH (same as /EHsc) /MTd link with LIBCMTD.LIB debug lib
---


> How is this handled otherwise? I mean does Studio IDE set them up? This
> is also for my reference... Is there anything else IDE sets up?


When I create new project for Pocket PC, ARM platform, I got these
project options listed in 'Project Settings' dialog box.

/nologo /W3 /Zi /Od /D "DEBUG" /D "ARM" /D "_ARM_" /D UNDER_CE=$(CEVersion)
/D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE"
/Fp"ARMDbg/wcetest.pch" /Yu"stdafx.h" /Fo"ARMDbg/" /Fd"ARMDbg/"
/M$(CECrtMTDebug) /c

And these are expaned to:

/nologo /W3 /GX- /D _WIN32_WCE=300 /D "WIN32_PLATFORM_PSPC=310" /D "ARM"
/D "_ARM_" /D UNDER_CE=300 /D "UNICODE" /D "_UNICODE" /D "NDEBUG"
/Fp"ARMRel/test.pch" /Yu"stdafx.h" /Fo"ARMRel/" /Oxs /MC /c

It seems that AppWizard defines ARM and _ARM_ directly.

--
Satoshi Nakamura
__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-dev@openssl.org
Automated List Manager majordomo@openssl.org