You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README 1.7KB

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