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.
adeniz 99b668337c Updated scripts to compile SNFMulti.dll (32- and 64-bit), ran test programs (cpp, cs, and vb). 4 years ago
32bitDll Updated scripts to compile SNFMulti.dll (32- and 64-bit), ran test programs (cpp, cs, and vb). 4 years ago
64bitDll Updated scripts to compile SNFMulti.dll (32- and 64-bit), ran test programs (cpp, cs, and vb). 4 years ago
BuildDistribution Restored from Alban's working copy, 4/17/2010 4:12 PM. 13 years ago
CPPSample Restored from Alban's working copy (last modified 4/17/2010 4:11 PM). 13 years ago
CSSample Rebuilt version 3.3. Reason: Fixed buffer overrun bug in CodeDweller/configuration.cpp. 8 years ago
CodeBlocks Updated scripts to compile SNFMulti.dll (32- and 64-bit), ran test programs (cpp, cs, and vb). 4 years ago
CodeDweller @ ee37106bc3 Updated scripts to compile SNFMulti.dll (32- and 64-bit), ran test programs (cpp, cs, and vb). 4 years ago
MinGW-32 Updated scripts to compile SNFMulti.dll (32- and 64-bit), ran test programs (cpp, cs, and vb). 4 years ago
MinGW-64 Updated scripts to compile SNFMulti.dll (32- and 64-bit), ran test programs (cpp, cs, and vb). 4 years ago
SNFMulti @ d122549f7e Switched SNFMulti to master branch. 4 years ago
SNFMultiDll Updated scripts to compile SNFMulti.dll (32- and 64-bit), ran test programs (cpp, cs, and vb). 4 years ago
SNFMultiSDK_Windows_3.2 Created new SDK.Created new SDK, version 3.2. Procedure: 9 years ago
SNFMultiSDK_Windows_3.3 Rebuilt version 3.3. Reason: Fixed buffer overrun bug in CodeDweller/configuration.cpp. 8 years ago
SNFMultiTest Updated scripts to compile SNFMulti.dll (32- and 64-bit), ran test programs (cpp, cs, and vb). 4 years ago
VBSample Updated scripts to compile SNFMulti.dll (32- and 64-bit), ran test programs (cpp, cs, and vb). 4 years ago
VS2008-archive Reset 13 years ago
VS2008CPPSample Updated scripts to compile SNFMulti.dll (32- and 64-bit), ran test programs (cpp, cs, and vb). 4 years ago
VS2008CSSample Restored from Alban's working copy (last modified 4/17/2010 4:11 PM). 13 years ago
VS2008VBSample Restored from Alban's working copy (last modified 4/17/2010 4:11 PM). 13 years ago
include Reset 13 years ago
.gitmodules Added CodeDweller and SNFMulti submodules. 4 years ago
BuildDistribution.cmd Updated scripts to compile SNFMulti.dll (32- and 64-bit), ran test programs (cpp, cs, and vb). 4 years ago
SNFMultiSDK_Windows_3.0.zip Restored from Alban's working copy (last modified 4/17/2010 4:11 PM). 13 years ago
SNFMultiSDK_Windows_3.1.zip Created SNFMultiSDK_Windows_3.1.zip after Pete updated SNFMulti.cpp. 12 years ago
SNFMultiSDK_Windows_3.2.zip Created new SDK.Created new SDK, version 3.2. Procedure: 9 years ago
SNFMultiSDK_Windows_3.3.zip Rebuilt version 3.3. Reason: Fixed buffer overrun bug in CodeDweller/configuration.cpp. 8 years ago
readme Updated scripts to compile SNFMulti.dll (32- and 64-bit), ran test programs (cpp, cs, and vb). 4 years ago

readme

This is where the SNF SDK for Windows Package is kept.


Copyright (c) 2009 - 2011 ARM Research Laboratories

The 64-bit SNFMulti.dll file is built using MinGW-64, the 64-bit MinGW
toolchain. The 32-bit SNFMulti.dll file is built using MinGW, the
32-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-64 or
MinGW-32 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-64 or MinGW-32 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
VS2008CPPSample/VS2008CPPSample.sln.

3) A Visual Studio 2008 C# example application. This can be built
with solution file VS2008CSSample/VS2008CSSample.sln.

4) A Visual Studio 2008 VB example application. This can be built
with the solution file VS2008VBSample/VS2008VBSample.sln.

This package includes the following directories (each has a README
file with further information):

MinGW-64--Contains .CMD files for building 64-bit 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.

MinGW-32--Contains .CMD files for building 32-bit 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.

VS2008CSSample, VS2008VBSample, VS2008CPPSample--Contains the Visual
Studio files for building the C# and VB example applications, and
the C++ test.

To build the applications in the MinGW-64, MinGW-32, 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 the 32-bit MinGW toolchain to C:\MinGW.

4) Install VS 2008.

5) Follow the directions in each directorie's README file.

To build and test the SDK:

1) In PKG-SNF-SDK-WIN/trunk/MinGW-32:

a) compileSNFMultiDLL.cmd.

b) buildSNFMultiDLL.cmd.

c) buildSNFMultiTestDLL.cmd.

d) buildvs2008SNFMultiImportLib.cmd (in vs2008 command prompt).

e) SNFMultiTest.exe.

f) installSNFMultiLibrary.cmd.

2) Repeat in MinGW-64.

3) Build and run VS2008CPPSample, x32 and x64. First copy
snf_engine.xml to VS2008CPPSample. For x32, copy *.dll from
32bitDll to VS2008CPPSample. For x64, copy *.dll from 64bitDll
to VS2008CPPSample.

4) Build and run VS2008CSSample, any, x32, and x64. Copy
snf_engine.xml to VS2008CSSample. Modify main.cs to specify
the location of snf_engine.xml and snfmulti.dll, which is
different for any, x32, and x64.

5) Build and run VS2008VBSample, any, x32, and x64. Copy
snf_engine.xml to VS2008VBSample. Modify main.vb to specify
the location of snf_engine.xml and snfmulti.dll, which is
different for any, x32, and x64.

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.