Building and Installing CppUnit on CygwinGNU Radio uses CppUnit for testing. Although users are not required to run the tests, the installation procedure requires that the code for testing be available. Note: If you installed cppunit 1.9.14-1 using Cygwin setup, you should uninstall it (using Cygwin setup) before building cppunit 1.12.0. (1) Downloadcppunit-1.12.0.tar.gz from https://sourceforge.net/project/showfiles.php?group_id=11795
to /usr/src (i.e., C:\cygwin\usr\src on a default
Cygwin installation). Unpack with$ cd /usr/src(2) If your gcc is older than 3.4.4-2: Download the patch file cppunit_dll_string.patch from
[attachment:#56:cppunit_dll_string.patch] (using the "Original Format" link at
the bottom of the page) to /usr/src. Apply the patch with$ cd /usr/src/cppunit-1.12.0 If your gcc-core and gcc-g++ are version 3.4.4-2 or newer
( cygcheck -c gcc-g++ ) you can skip this step. (3) Build and install
with:$ ./configure CppUnit is installed under /usr/local/* by default.
Notes:
注:Building and Installing CppUnit on Cygwin(原文出处,翻译整理仅供参考!) |