This is where the SNF SDK for Windows Package is kept.
Copyright (c) 2009 - 2010 ARM Research Laboratories
The SNFMulti.dll file is built using MinGW-64, the 64-bit MinGW
toolchain. There are two ways for building SNFMulti.dll:
1) Use the Code::Blocks project (in the CodeBlocks directory).
2) Use the .CMD files from the DOS command line (in the MinGW
directory).
In addition to building SNFMulti.dll, the libSNFMulti.a and
libSNFmulti.def files are created.
There are also applications for linking with SNFMulti.dll:
1) The SNFMulti C++ test built with MinGW. This can be built with a
.CMD file in the MinGW directory, or a Code::Blocks project in the
CodeBlocks directory.
2) The SNFMulti C++ test built with Visual Studio 2008. This can be
built with solution file
VS2008/SNFMultiDLLExampleCsharp/SNFMultiDLLTestC++.sln.
3) A Visual Studio 2008 C# example application. This can be built
with solution file
VS2008/SNFMultiDLLExampleCsharp/SNFMultiDLLExampleCsharp.sln.
4) A Visual Studio 2008 VB example application. This can be built
with the solution file
VS2008/SNFMultiDLLExampleVB/SNFMultiDLLExampleVB.sln.
This package includes the following directories (each has a README
file with further information):
MinGW--Contains .CMD files for building SNFMulti.dll and associated
files, and also the C++ application SNFMultiTest. It uses the
source files in the SNFMulti, CodeDweller, and SNFMultiTest
directories. These directories must be present.
CodeBlocks--Contains the Code::Blocks project files for building
SNFMulti.dll and SNFMultiTest. It uses the source files in the
SNFMulti, CodeDweller, and SNFMultiTest directories. These
directories must be present.
SNFMultiTest--Contains the source for the C++ test application
SNFMultiTest.
VS2008--Contains the Visual Studio files for building the C# and VB
example applications, and the C++ test.
To build the applications in the MinGW, CodeBlocks, and VS2008
directories:
1) Ensure that the SNFMultiTest, SNFMulti, and CodeDweller
directories are present.
2) Install the 64-bit MinGW toolchain. Unpack the 64-bit toolchain
(e.g. mingw-w64-bin_i686-mingw_20090220.zip) into c:\MinGW-64. If
done correctly, c:\MinGW-64 should have the directories bin,
include, x86_64-pc-mingw32, and other directories. The MinGW .CMD
files and the Code::Blocks project files are configured to use the
64-bit toolchain in c:\MinGW-64.
3) Install VS 2008.
4) Follow the directions in each directorie's README file.
To create a zipfile distribution:
1) Install jZip.
2) Edit BuildDistribution.cmd to specify the DISTDIR variable, and
optionally the TEMPDIR variable.
3) Run BuildDistribution. This creates a zip file in the current
directory with the name %DISTDIR%.zip.
Note: When you run BuildDistribution, you will get a message saying
that %DISTDIR%.zip could not be found. This message can be ignored.
Note: For more information on the procedure for creating a zipfile
distribution, see the BuildDistribution.cmd file and the
BuildDistribution\README file.