You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-22Lines changed: 2 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -286,14 +286,6 @@ invokes cmake commands as needed.
286
286
make debug
287
287
```
288
288
289
-
***Optional**: to build statically-linked binaries:
290
-
291
-
```bash
292
-
make release-static
293
-
```
294
-
295
-
Dependencies need to be built with -fPIC. Static libraries usually aren't, so you may have to build them yourself with -fPIC. Refer to their documentation for how to build them.
296
-
297
289
***Optional**: build documentation in`doc/html` (omit `HAVE_DOT=YES`if`graphviz` is not installed):
298
290
299
291
```bash
@@ -402,7 +394,7 @@ application.
402
394
* To build Monero, run:
403
395
404
396
```bash
405
-
make release-static-win64
397
+
make release-static -j $(nproc)
406
398
```
407
399
408
400
The resulting executables can be found in `build/release/bin`
@@ -411,7 +403,7 @@ application.
411
403
* **Optional**: to build Windows binaries suitable for debugging, run:
412
404
413
405
```bash
414
-
make debug-static-win64
406
+
make debug -j $(nproc)
415
407
```
416
408
417
409
The resulting executables can be found in `build/debug/bin`
@@ -462,18 +454,6 @@ cd ../..
462
454
463
455
Then you can run make as usual.
464
456
465
-
### Building portable statically linked binaries
466
-
467
-
By default, in either dynamically or statically linked builds, binaries target the specific host processor on which the build happens and are not portable to other processors. Portable binaries can be built using the following targets:
468
-
469
-
*```make release-static-linux-x86_64``` builds binaries on Linux on x86_64 portable across POSIX systems on x86_64 processors
470
-
*```make release-static-linux-i686``` builds binaries on Linux on x86_64 or i686 portable across POSIX systems on i686 processors
471
-
*```make release-static-linux-armv8``` builds binaries on Linux portable across POSIX systems on armv8 processors
472
-
*```make release-static-linux-armv7``` builds binaries on Linux portable across POSIX systems on armv7 processors
473
-
*```make release-static-linux-armv6``` builds binaries on Linux portable across POSIX systems on armv6 processors
474
-
*```make release-static-win64``` builds binaries on 64-bit Windows portable across 64-bit Windows systems
475
-
*```make release-static-win32``` builds binaries on 64-bit or 32-bit Windows portable across 32-bit Windows systems
476
-
477
457
### Cross Compiling
478
458
479
459
You can also cross-compile static binaries on Linux for Windows and macOS with the `depends` system.
0 commit comments