/ Check-in [aae7b30e]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Make use of the CC nmake macro even when cross-compiling (with MSVC).
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | memTests
Files: files | file ages | folders
SHA1: aae7b30ebd9601882a02fe8cf46fbf0390ec3fac
User & Date: mistachkin 2013-12-03 23:33:29
Context
2013-12-05
17:12
Fix harmless compiler warnings and improve the MSVC makefile. check-in: c6325670 user: drh tags: trunk
2013-12-03
23:33
Make use of the CC nmake macro even when cross-compiling (with MSVC). Closed-Leaf check-in: aae7b30e user: mistachkin tags: memTests
22:33
Fix harmless compiler warnings. check-in: a12d214e user: mistachkin tags: memTests
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to Makefile.msc.

   158    158   #     nmake /f Makefile.msc sqlite3.dll
   159    159   #           "NCC=""%VCINSTALLDIR%\bin\cl.exe"""
   160    160   #           USE_NATIVE_LIBPATHS=1
   161    161   #
   162    162   !IFDEF NCC
   163    163   NCC = $(NCC:\\=\)
   164    164   !ELSEIF $(XCOMPILE)!=0
   165         -NCC = "$(VCINSTALLDIR)\bin\cl.exe"
          165  +NCC = "$(VCINSTALLDIR)\bin\$(CC)"
   166    166   NCC = $(NCC:\\=\)
   167    167   !ELSE
   168    168   NCC = $(CC)
   169    169   !ENDIF
   170    170   
   171    171   # Check for the MSVC runtime library path macro.  Othertise, this
   172    172   # value will default to the 'lib' directory underneath the MSVC