petdance/scratch — Issue #477: msvc+mingw detection
Author: petdance
Created: 2011-11-14 06:00:57+00:00
State: open
Labels: configure, Pri-normal, Sev-medium, todo

With r36750 I had to fix one more MSWin32 compiler detection (uppercase allowed), but there are several more instances of compiler special cases in the makefile templates and tests.
My proposal is to get that right in the first place, config/init/hints/mswin32.pm, and store it in the config as '''msvc''', '''mingw''', and maybe also icc or borland keys.

Use these keys in the makefile templates and testsuite then.

cc="ccache cl" for example might not be safe also.

The patch in TT #312 already contains the mingw and msvc keys, as they are the only one currently used.

Originally http://trac.parrot.org/parrot/ticket/339