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.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. This is where the SNF SDK for Windows Package is kept.
  2. Copyright (c) 2009 - 2020 ARM Research Laboratories
  3. The 64-bit SNFMulti.dll file is built using MinGW-64, the 64-bit MinGW
  4. toolchain. The 32-bit SNFMulti.dll file is built using MinGW, the
  5. 32-bit MinGW toolchain.
  6. The SNFMulti.dll is built using the .CMD files from the command line
  7. (in the MinGW-64 or MinGW-32 directory). In addition to building
  8. SNFMulti.dll, the libSNFMulti.a and libSNFmulti.def files are created.
  9. The import and export files are built using the VS2019 command line.
  10. There are also applications for linking with SNFMulti.dll:
  11. 1) The SNFMulti C++ test built with MinGW. This can be built with a
  12. .CMD file in the MinGW-64 or MinGW-32 directory
  13. 2) The SNFMulti C++ test built with Visual Studio 2019. This can be
  14. built with solution file VS20198CPPSample/VS2019CPPSample.sln.
  15. 3) A Visual Studio 2019 C# example application. This can be built
  16. with solution file VS2019CSSample/VS2019CSSample.sln.
  17. 4) A Visual Studio 2008 VB example application. This can be built
  18. with the solution file VS2008VBSample/VS2008VBSample.sln.
  19. This package includes the following directories (each has a README
  20. file with further information):
  21. MinGW-64--Contains .CMD files for building 64-bit SNFMulti.dll and
  22. associated files, and also the C++ application SNFMultiTest. It
  23. uses the source files in the SNFMulti, CodeDweller, and SNFMultiTest
  24. directories. These directories must be present.
  25. MinGW-32--Contains .CMD files for building 32-bit SNFMulti.dll and associated
  26. files, and also the C++ application SNFMultiTest. It uses the
  27. source files in the SNFMulti, CodeDweller, and SNFMultiTest
  28. directories. These directories must be present.
  29. CodeBlocks--Contains the Code::Blocks project files for building
  30. SNFMulti.dll and SNFMultiTest. It uses the source files in the
  31. SNFMulti, CodeDweller, and SNFMultiTest directories. These
  32. directories must be present.
  33. SNFMultiTest--Contains the source for the C++ test application
  34. SNFMultiTest.
  35. VS2008CSSample, VS2008VBSample, VS2008CPPSample--Contains the Visual
  36. Studio files for building the C# and VB example applications, and
  37. the C++ test.
  38. To build the applications in the MinGW-64, MinGW-32, and VS2019
  39. directories:
  40. 1) Ensure that the SNFMultiTest, SNFMulti, and CodeDweller
  41. directories are present.
  42. 2) Install the 64-bit MinGW toolchain. The scripts in MinGW-64 are
  43. for MinGW-W64 version 8.1.0, posix threads, and seh exception.
  44. If a different version is installed, the scripts would need to be
  45. modified.
  46. 3) Install the 32-bit MinGW toolchain (i686 architecture), version
  47. 8.1.0, posix threads, and sjlj exception. If a different version
  48. is installed, the scripts would need to be modified.
  49. 4) Install VS 2019. and the .NET runtime.
  50. 5) Follow the directions in README file in MinGW-32, MinGW-64, and
  51. VS2019 directories.
  52. To build and test the SDK:
  53. 1) In PKG-SNF-SDK-WIN/trunk/MinGW-32:
  54. a) compileSNFMultiDLL.cmd.
  55. b) buildSNFMultiDLL.cmd.
  56. c) buildSNFMultiTestDLL.cmd.
  57. d) buildvs2019SNFMultiImportLib.cmd (in vs2019 command prompt).
  58. e) SNFMultiTest.exe.
  59. f) installSNFMultiLibrary.cmd.
  60. 2) Repeat in MinGW-64.
  61. 3) Build and run VS2019CPPSample, x32 and x64, following the
  62. instructions in the README file.
  63. 4) Build and run VS2019CSSample, any, x32, and x64, following the
  64. instructions in the README file.
  65. 5) Build and run VS2019VBSample, any, x32, and x64, following the
  66. instructions in the README file.
  67. To create a zipfile distribution:
  68. 1) Install jZip.
  69. 2) Add jZip to the path for the MinGW-W64 bash command line.
  70. 3) At a MinGW bash prompt, run
  71. ./createDistribution VERSION
  72. where VERSION is the version to create. This creates a
  73. distribution in SNFMultiSDK_Windows, and zips the distribution
  74. into SNFMultiSDK_Windows_VERSION.zip.