Skip to content
Snippets Groups Projects
Unverified Commit 521c1aec authored by psychocrypt's avatar psychocrypt Committed by GitHub
Browse files

Merge pull request #1635 from maurezen/master

Docs - compilation RAM requirements
parents 780f9771 145ac6ff
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,7 @@
* [How can I mine Monero](#how-can-i-mine-monero)
* [Why is Monero named monero7](#why-is-monero-named-monero7)
* [Which currency must be chosen if my fork coin is not listed](#which-currency-must-be-chosen-if-my-fork-coin-is-not-listed)
* [Internal compiler error: Killed (program cc1plus)](#internal-compiler-error)
## "Obtaining SeLockMemoryPrivilege failed."
......@@ -87,3 +88,7 @@ To avoid configuration conflicts after the hard fork of Monero to the new POW wi
If your coin you want to mine is not listed please check the documentation of the coin and try to find out if `cryptonight` or `cryptonight-lite` is the used algorithm.
Select one of these generic coin algorithms.
## Internal compiler error
Seeing `g++: internal compiler error: Killed (program cc1plus)` is probably related to not enough RAM to compile. 1 Gb RAM should be enough (it is on clean Ubuntu 16.04).
......@@ -105,6 +105,8 @@ In that case you can force CUDA to use an older compiler in the following way:
cmake -DCUDA_HOST_COMPILER=/usr/bin/gcc-5 ..
```
- You need 1 Gb RAM to compile (a bit less might be enough, 512 Mb isn't).
### To do a generic and static build for a system without gcc 5.1+
```
cmake -DCMAKE_LINK_STATIC=ON -DXMR-STAK_COMPILE=generic .
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment