PowerPC and Cell BE Processor Optimized CPU Miner for FreeBSD

This is a FreeBSD port of the PowerPC optimized version of pooler's cpuminer. This version contains optimizations for PowerPC (Power Mac) and Cell/BE (PlayStation 3). These optimizations should improve performance on many other PowerPC hardware by using Altivec instructions.


  • Tested on FreeBSD 9.2
  • GCC version 4.8
  • PowerPC or CELL BE CPU - Tested on PowerMac G5

Easy Install

Installing on FreeBSD is simple using the ports system. This optimized version is not in the official ports tree. You will need to manually download the port information and extract it into your ports tree:

fetch -o /tmp/cpuminer-powerpc.shar http://www.unibia.com/unibianet/sites/default/files/cpuminer-powerpc.sha... 
cd /usr/ports/net-p2p/
sh /tmp/cpuminer-powerpc.shar
cd cpuminer-powerpc

Next build and install the port:

make install

Accept all default options for any dependent ports when asked. In a few seconds (depending on your computer's speed) the port will be installed. Usage instructions can be seen by running:

minerd --help

Installing GCC 4.8

This port requires GCC version 4.8 to build. If you don't have it installed use these steps to get in setup on your system:

cd /usr/ports/lang/gcc48/
make install

For optimal performance, add the following to your /etc/make.conf file:

.if !empty(.CURDIR:M/usr/ports/*) && exists(/usr/local/bin/gcc48)
CFLAGS+=-O3 -maltivec

Plain text icon cpuminer-powerpc.shar_.txt2.1 KB