Compiler Notes:

**MinGW: (code size: 750K) Compiles fine.

This website describes the changes needed to get DLL's to compiler in Code::Blocks. 

http://forums.codeblocks.org/index.php/topic,946.0.html

**Borland C: (code size: 482K) See website for command line changes.

**DMC: (code size: 370K) DMC will compile with or without the Microsoft Platform SDK upgrade. See website for command line changes.

$compiler -L/subsystem:windows -WD -mn $link_options $link_objects -o $exe_output $libs $link_resobjects

**MSVC: (code size: 350K) You will need to add SDK\include and SDK\lib into the Settings | Compiler | (MSVC)  Directories. DO NOT include a trailing slash or you will get compile erros. 

...Then go to Settings | Compiler | (MSVC) | Other | Advanced Options
Compile Win32 Resource File: $rescomp $includes $res_includes -fo$resource_output $file

...Then go to Settings | Compiler | (MSVC) | Programs | Additional Paths
Add the SDK\bin folder without a trailing slash. Autodetect will not work.

I have disabled exception handling the MSVC project because Scintilla does not use it. This produces a DLL about 20K less than Don's Visual Studio project. With exception handling turned back on, thanks to importing the exact options from the Visual Studio .vcproj file, the size is exactly the same as Don's released version.


***

MSVC produces the smallest code but DMC is quite close. DMC on my other project produces substantially faster code. DMC and Borland compile the fastest. I'm using a DMC compiled DLL. Watcom C is never mentioned in the Scintilla sources and Watcom by far is the most difficult compiler so I didn't see any reason why I should attempt to make a project for it.
