File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -308,3 +308,35 @@ To build executables for ARM:
308
308
309
309
310
310
For further documentation on the depends system see [ README.md] ( ../depends/README.md ) in the depends directory.
311
+
312
+ Building on FreeBSD
313
+ --------------------
314
+
315
+ (Updated as of FreeBSD 10.3)
316
+
317
+ Clang is installed by default as ` cc ` compiler, this makes it easier to get
318
+ started than on [ OpenBSD] ( build-openbsd.md ) . Installing dependencies:
319
+
320
+ pkg install autoconf automake libtool pkgconf
321
+ pkg install boost-libs openssl libevent2
322
+
323
+ (` libressl ` instead of ` openssl ` will also work)
324
+
325
+ For the wallet (optional):
326
+
327
+ pkg install db5
328
+
329
+ This will give a warning "configure: WARNING: Found Berkeley DB other
330
+ than 4.8; wallets opened by this build will not be portable!", but as FreeBSD never
331
+ had a binary release, this may not matter. If backwards compatibility
332
+ with 4.8-built Bitcoin Core is needed follow the steps under "Berkeley DB" above.
333
+
334
+ Then build using:
335
+
336
+ ./autogen.sh
337
+ ./configure --with-incompatible-bdb CPPFLAGS=-I/usr/local/include/db5 LDFLAGS=-L/usr/local/lib/db5
338
+ make
339
+
340
+ * Note on debugging* : The version of ` gdb ` installed by default is [ ancient and considered harmful] ( https://wiki.freebsd.org/GdbRetirement ) .
341
+ It is not suitable for debugging a multi-threaded C++ program, not even for getting backtraces. Please install the package ` gdb ` and
342
+ use the versioned gdb command e.g. ` gdb7111 ` .
You can’t perform that action at this time.
0 commit comments