[BTC-dev] Modified Portatronic Build Script (auto.sh) for building static linked bitcoind ELF
Shane Kinney
modsix at gmail.com
Fri Mar 6 04:33:36 UTC 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Attached to this message are a patch file and full source with signatures
of the modified portatronic build script.
You can find the oringial here:
http://thebitcoin.foundation/ml/btc-dev/2015-January/000033.html
See attachment [auto_5acaf3182f7d59b9ef11dc90f80bdcc4f8fdd59c.sh].
To patch asciilifeform's original auto.sh, save the one from the link
above as `auto.sh.orig' and save the patch from the attachment on
this email as `auto-static_sh.patch' in the same directory.
Then do the following to apply the patch:
patch -p0 < auto-static_sh.patch
Once patched you can move `auto.sh.orig' to `auto.sh'.
The auto.sh script should be placed in the same directory as where you have
built or are going to build a patched Reference Implementation.
It will look for this directory:
bitcoin
You'll need to edit the file to if your system has a different architecture
than x86_64. Edit the following three variables in the top of the script:
BOOST_ADDRESS_MODEL=64
BOOST_ARCH_TYPE=x86_64
SSL_ARCH_TYPE=linux-x86_64
Also note that you will need to have `curl` and `realpath` installed on your
local environment to execute this script.
Finally, execute `auto.sh'. It will pull down the necessary libraries to build
the static `bitcoind` and then compile and link them, and finally compile
and link bitcoin.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (FreeBSD)
iQIcBAEBCgAGBQJU+SshAAoJEHIXBai3Hq2vIGsP/34FNT0L6HSPbmma20AIn8ft
z2tdOgtlmzvu/4g+bcpwxzLd/encVAzoMoSjz1L97I9ijIg5Ur4JNl4aLM6IBJac
DeWVoGlTDQaXywisTAkvtOLlNNsAJWW3UBj6k+o44RBfQN9CTUDLrNNhHX8AF4NS
VHpVlGZF6sVr4YGqdPe/UNlMf/r0cHBG0zZVz0ITbiTJ5o9etRqsFfG06toz37zS
szDxuPisUzdT1RCjpUc7naA51qum9se1iQdJ3FBQ65GN2SljTRx8zTPt4LdR/mwH
su+gVWxSKVJIDWsfYXG2sPxsmBciNnqunrkVKklJ5QeJjKkCAWOLNoJUAZdP0WTU
Dv9us5qzqqiQZ5i+xM0/owcB59fFB1PAjMM8orenf5hkWZLRag+DmVO+9tAfapTp
Xs0+0poE+c9MYo5WessPQuiWrnmTfweNfp9fSHxY5Lb5s+LJ5i/Kgq7k/VA75Oko
QXyh6Vd5pvXPyEnPDr+4CGTjacrvyZxSawpqqGCkPGwe/KoP8DkTG0YpHfSw2sbr
UP3HD6Vyd0TD7QRUP4wPH9sClP928EHP9QcyHFdfyxq93PEOhSok9lTzre0ry4FF
R7peq2QFUkIQr/2g/OytzFFdM5BrPjw7hy5MYC3HxrNDTM2uJ2vMgHwv1zAnSmWX
bcJQHHkmsKVFD863Z5Ht
=8b6E
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: auto.sh
Type: application/x-sh
Size: 3441 bytes
Desc: not available
URL: <http://therealbitcoin.org/ml/btc-dev/attachments/20150305/auto_8c2c7554baa76cb9fa34efd615205c270e590144.sh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: auto.sh.sig
Type: application/octet-stream
Size: 834 bytes
Desc: not available
URL: <http://therealbitcoin.org/ml/btc-dev/attachments/20150305/auto_8bcf9e8443c117c3a6288d9d7508c330db88a57f.sh.sig>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: auto-static_sh.patch
Type: text/x-patch
Size: 4688 bytes
Desc: not available
URL: <http://therealbitcoin.org/ml/btc-dev/attachments/20150305/auto-static_sh_566252a5b51a7bb7c0c13161807c3bda3df6f20b.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: auto-static_sh.patch.sig
Type: application/octet-stream
Size: 834 bytes
Desc: not available
URL: <http://therealbitcoin.org/ml/btc-dev/attachments/20150305/auto-static_sh_c79d0b560daf91521ea1d71d4738ce302b6e30f7.patch.sig>
More information about the BTC-dev
mailing list