Add a USE_64_BIT_INT build option to the Windows makefiles.
authorSteve Hay <steve.m.hay@googlemail.com>
Wed, 1 Aug 2012 17:16:53 +0000 (18:16 +0100)
committerSteve Hay <steve.m.hay@googlemail.com>
Wed, 1 Aug 2012 17:16:53 +0000 (18:16 +0100)
commit1f64ae15647e757e817c923b2a9fcbc528c5f610
tree54178f89858b01440249f595e13fc348387e4300
parent9fa1f09fe74e63fd5b313c36efc35bb18e73faf3
Add a USE_64_BIT_INT build option to the Windows makefiles.

Rather than adding more canned configurations, we dynamically set values
which differ from the standard 32-bit build options, and actually remove
the canned configurations for 64-bit builds too and do likewise for them.

The ~ARCHPREFIX~ games used by the outgoing .gc64 configuration needed
bringing into the remaining .gc configuration to maintain support for the
GCCCROSS build option.

Two tweaks to sv.c were required for the USE_64_BIT_INT option to work
with a VC++ build, allowing the I64 printf size specification. The GCC
build worked anyway since it uses ll rather than I64.

The motivation for this change came from a patch submitted by Sisyphus
<sisyphus1@optusnet.com.au>:
Message-ID: <6AC52DD00C96415A9E919A02F12DD05F@desktop2>
MANIFEST
Porting/checkcfgvar.pl
sv.c
win32/Makefile
win32/config.gc
win32/config.gc64 [deleted file]
win32/config.vc64 [deleted file]
win32/config_H.gc64 [deleted file]
win32/config_H.vc64 [deleted file]
win32/config_sh.PL
win32/makefile.mk