/ Check-in [6caa2cd1]
Login

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

Overview
Comment:Add the ability to generate assembly listing files using the MSVC makefile.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | toTypeFuncs
Files: files | file ages | folders
SHA1: 6caa2cd10421a85db6740fb2ae8a42b573959562
User & Date: mistachkin 2013-09-06 21:41:11
Context
2013-09-06
22:27
Merge updates from trunk. check-in: 8922be1a user: mistachkin tags: toTypeFuncs
21:41
Add the ability to generate assembly listing files using the MSVC makefile. check-in: 6caa2cd1 user: mistachkin tags: toTypeFuncs
20:30
When converting from a BLOB value in the tointeger() and toreal() SQL functions, make sure that endianness of the machine does not matter. check-in: 94c4cdc5 user: mistachkin tags: toTypeFuncs
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to Makefile.msc.

    20     20   !ENDIF
    21     21   
    22     22   # Set this non-0 to dynamically link to the MSVC runtime library.
    23     23   #
    24     24   !IFNDEF USE_CRT_DLL
    25     25   USE_CRT_DLL = 0
    26     26   !ENDIF
           27  +
           28  +# Set this non-0 to generate assembly code listings for the source code
           29  +# files.
           30  +#
           31  +!IFNDEF USE_LISTINGS
           32  +USE_LISTINGS = 0
           33  +!ENDIF
    27     34   
    28     35   # Set this non-0 to attempt setting the native compiler automatically
    29     36   # for cross-compiling the command line tools needed during the compilation
    30     37   # process.
    31     38   #
    32     39   !IFNDEF XCOMPILE
    33     40   XCOMPILE = 0
................................................................................
   176    183   
   177    184   NSDKLIBPATH = $(NSDKLIBPATH:\\=\)
   178    185   
   179    186   # C compiler and options for use in building executables that
   180    187   # will run on the platform that is doing the build.
   181    188   #
   182    189   BCC = $(NCC) -W3
          190  +
          191  +# Check if assembly code listings should be generated for the source
          192  +# code files to be compiled.
          193  +#
          194  +!IF $(USE_LISTINGS)!=0
          195  +BCC = $(BCC) -FAcs
          196  +!ENDIF
   183    197   
   184    198   # Check if the native library paths should be used when compiling
   185    199   # the command line tools used during the compilation process.  If
   186    200   # so, set the necessary macro now.
   187    201   #
   188    202   !IF $(USE_NATIVE_LIBPATHS)!=0
   189    203   NLTLIBPATHS = "/LIBPATH:$(NCRTLIBPATH)" "/LIBPATH:$(NSDKLIBPATH)"
................................................................................
   191    205   
   192    206   # C compiler and options for use in building executables that
   193    207   # will run on the target platform.  (BCC and TCC are usually the
   194    208   # same unless your are cross-compiling.)
   195    209   #
   196    210   TCC = $(CC) -W3 -DSQLITE_OS_WIN=1 -I$(TOP) -I$(TOP)\src -fp:precise
   197    211   RCC = $(RC) -DSQLITE_OS_WIN=1 -I$(TOP) -I$(TOP)\src
          212  +
          213  +# Check if assembly code listings should be generated for the source
          214  +# code files to be compiled.
          215  +#
          216  +!IF $(USE_LISTINGS)!=0
          217  +TCC = $(TCC) -FAcs
          218  +!ENDIF
   198    219   
   199    220   # When compiling the library for use in the WinRT environment,
   200    221   # the following compile-time options must be used as well to
   201    222   # disable use of Win32 APIs that are not available and to enable
   202    223   # use of Win32 APIs that are specific to Windows 8 and/or WinRT.
   203    224   #
   204    225   !IF $(FOR_WINRT)!=0
................................................................................
  1281   1302   
  1282   1303   sqlite3_analyzer.exe:	sqlite3_analyzer.c $(LIBRESOBJS)
  1283   1304   	$(LTLINK) -DBUILD_sqlite -DTCLSH=2 -I$(TCLINCDIR) sqlite3_analyzer.c \
  1284   1305   		/link $(LTLINKOPTS) $(LTLIBPATHS) $(LIBRESOBJS) $(LTLIBS) $(TLIBS)
  1285   1306   
  1286   1307   clean:
  1287   1308   	del /Q *.lo *.ilk *.lib *.obj *.pdb sqlite3.exe libsqlite3.lib
  1288         -	del /Q *.da *.bb *.bbg gmon.out
         1309  +	del /Q *.cod *.da *.bb *.bbg gmon.out
  1289   1310   	del /Q sqlite3.h opcodes.c opcodes.h
  1290   1311   	del /Q lemon.exe lempar.c parse.*
  1291   1312   	del /Q mkkeywordhash.exe keywordhash.h
  1292   1313   	-rmdir /Q/S .deps
  1293   1314   	-rmdir /Q/S .libs
  1294   1315   	-rmdir /Q/S quota2a
  1295   1316   	-rmdir /Q/S quota2b