You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Ben Hyde <bh...@gensym.com> on 1998/04/14 23:01:45 UTC
Enumeration of Window's switches in use.
This may save somebody else some time.
These are the C compiler switches used in the
assorted Window's make and project files, and
what their purpose is.
/nologo -- Supress copyright/version banner
/W3 -- Warning level 3
/GX -- Enables synchronous exception handling
/Gm -- Enables minimal rebuild
/O2 -- Fast (as compaired to small) code.
/Od -- Disables Optimization
/Zi -- Generate complete debugging info
/c -- Compiles without linking
/FD -- the mystery switch
/YX -- Automaticly create precompiled headers.
/D "WIN32" -- select wich Apache platform to build for.
/D "_DEBUG" -- notify OS include files we want to debug.
/D "NDEBUG" -- notify OS include files we don't want to debug.
/D "_WINDOWS" -- notify OS include files we plan a Window's UI
/D "_CONSOLE" -- notify OS include files we plan a Console UI
/MD -- Compile for MSVCRT.LIB (MSV means multithreaded, CRT mean's C RunTime)
/MDd -- the debug version e.g. MSVCRTD.LIB of same.
/I "..\..\include" -- Where to get include files
/I "..\include"
/D "_MBCS" -- Multibyte character support?
(used on gen_uri_delims.dsp and gen_test_char.dsp)
/D "NO_DBM_REWRITEMAP" /D "SHARED_MODULE"
(used in ApacheModuleRewrite.dsp)
Linker switches
/nologo -- supress copyright/version banner
/machine:I386 -- target platform
(this value, I386, isn't documented)
/dll -- builds a DLL
/debug -- creates debugging info
/subsystem:console
/subsystem:windows
(select which sub-operating system should run this)
/pdbtype:sept -- use separate PDB debugger files.
Used on gen_uri_delims.dsp and
gen_test_char.dsp this is probably
a better setting, but it only effects
debuggin.
- ben hyde
Re: Enumeration of Window's switches in use.
Posted by Ben Laurie <be...@algroup.co.uk>.
Ben Hyde wrote:
> /D "_MBCS" -- Multibyte character support?
> (used on gen_uri_delims.dsp and gen_test_char.dsp)
Yes - but probaby a mistake there.
> /pdbtype:sept -- use separate PDB debugger files.
> Used on gen_uri_delims.dsp and
> gen_test_char.dsp this is probably
> a better setting, but it only effects
> debuggin.
Artefact of the way they were created, I'd guess.
Cheers,
Ben.
--
Ben Laurie |Phone: +44 (181) 735 0686| Apache Group member
Freelance Consultant |Fax: +44 (181) 735 0689|http://www.apache.org
and Technical Director|Email: ben@algroup.co.uk |
A.L. Digital Ltd, |Apache-SSL author http://www.apache-ssl.org/
London, England. |"Apache: TDG" http://www.ora.com/catalog/apache