Whitepaper - Ethereum Classic With Cover
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>Ethereum</strong> <strong>Classic</strong> Documentation, Release 0.1<br />
• OS X El Capitan (10.11)<br />
The cpp-ethereum code base does not build on older OS X versions and this is not something which we will ever<br />
support. If you are using an older OS X version, we recommend that you update to the latest release, not just so<br />
that you can build cpp-ethereum, but for your own security.<br />
Clone the repository<br />
To clone the source code, execute the following command:<br />
git clone --recursive https://github.com/bobsummerwill/cpp-ethereum.git<br />
cd cpp-ethereum<br />
git checkout merge_repos<br />
git submodule update --init<br />
Pre-requisites and external dependencies Ensure that you have the latest version of xcode installed. This<br />
contains the Clang C++ compiler, the xcode IDE and other Apple development tools which are required for<br />
building C++ applications on OS X. If you are installing xcode for the first time, or have just installed a new<br />
version then you will need to agree to the license before you can do command-line builds:<br />
sudo xcodebuild -license accept<br />
Our OS X builds require you to install the Homebrew package manager for installing external dependencies.<br />
Here’s how to uninstall Homebrew, if you ever want to start again from scratch.<br />
We now have a “one button” script which installs all required external dependencies on macOS and on numerous<br />
Linux distros. This used to a multi-step manual process:<br />
./install_dep.sh<br />
Command-line build<br />
mkdir build<br />
cd build<br />
cmake ..<br />
make -j4<br />
From the project root:<br />
(or different value, depending on your number of CPU cores)<br />
Install your own build<br />
You can also use the same Makefile to install your own build globally on your machine:<br />
make install<br />
This will install binaries into /usr/local/ and /usr/bin/.<br />
Generate xcode project<br />
From the project root:<br />
mkdir build_xc<br />
cd build_xc<br />
cmake -G Xcode ..<br />
This will generate an Xcode project file called cpp-ethereum.xcodeproj, which you can then open with xcode<br />
and build/debug/run.<br />
Building for FreeBSD NOTE - Once the packages are in the FreeBSD main ports this guide should be changed<br />
to something much more simple<br />
1.2. <strong>Ethereum</strong> Clients 35