README file for command files for building SNFServer library and applications Copyright (c) 2009, 2020 ARM Research Laboratories This is the README file for building the SNFMulti library and SNFMultiTest application using the 64-bit MinGW toolchain. To build SNFMulti.dll 1) Run "compileSNFMultiDLL.cmd". This compiles the SNFMulti files for building a DLL. The object files are created in the current directory. The source files are in the ../SNFMulti and ../CodeDweller directories. 2) Run "buildSNFMultiDLL.cmd". This builds snfmulti.dll, libsnfmulti.a, and snfmulti.def. To build the import and export SNFMulti libraries for VS2019: 1) With the VS2019 command prompt, run "buildVS2019SNFMultiImportLib.cmd". This reads snfmulti.def and creates vs2019_snfmulti.lib (the SNFMulti import library) and vs2019_snfmulti.exp (the SNFMulti export library). To copy to where the sample programs can find the files: 1) Run "installSNFMultiLibrary.cmd". This copies the output files into the ..\32bitDll directory. To build SNFMultiTest linked with SNFMulti.dll: 1) Run "buildSNFMultiTestDLL.cmd". This builds SNFMultiTest.exe, linking with SNFMulti.dll. Because SNFMulti.dll is in the current directory, SNFMultiTest.exe can be run from the command line without modifying the PATH variable. To run SNFMultiTest: 1) Make sure that all DLLs required by MinGW are available to SNFMultiTest. The required files are in ../32bitDLL. 2) Make sure that the sniffer configuration file is named prescale.xml, and is in the current directory. A suitable configuration file is ..\MinGW-64\prescale.xml. 3) Enter :SNFMultiTest" at the command line.