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.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. README file for command files for building SNFServer library and applications
  2. Copyright (c) 2009 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. These are the same files built
  12. by Code::Blocks.
  13. To build the import and export SNFMulti libraries for VS2008:
  14. 1) With the VS2008 command prompt, run "buildVS2008SNFMultiImportLib.cmd".
  15. This reads snfmulti.def and creates vs2008_snfmulti.lib (the SNFMulti import
  16. library) and vs2008_snfmulti.exp (the SNFMulti export library).
  17. To copy to where the sample programs can find the files:
  18. 1) Run "installSNFMultiLibrary.cmd". This copies the output files into
  19. the ..\32bitDll directory.
  20. To build SNFMultiTest linked with SNFMulti.dll:
  21. 1) Run "buildSNFMultiTestDLL.cmd". This builds SNFMultiTest.exe,
  22. linking with SNFMulti.dll. Because SNFMulti.dll is in the current
  23. directory, SNFMultiTest.exe can be run from the command line
  24. without modifying the PATH variable.
  25. To run SNFMultiTest:
  26. 1) Make sure that all DLLs required by MinGW are available to
  27. SNFMultiTest. For example, MinGW 5.1.4 needs mingwm10.dll, which
  28. is in \MinGW\bin.
  29. 2) Make sure that the sniffer configuration file is named
  30. prescale.xml, and is in the current directory. A suitable
  31. configuration file is ..\SNFMultiSDK_Windows_3.1\snf_engine.xml.