doc: Mention other ways to conserve memory on compilation
This commit is contained in:
parent
32776276ef
commit
fa7789f731
1 changed files with 8 additions and 0 deletions
|
@ -61,6 +61,14 @@ tuned to conserve memory with additional CXXFLAGS:
|
|||
|
||||
./configure CXXFLAGS="--param ggc-min-expand=1 --param ggc-min-heapsize=32768"
|
||||
|
||||
Alternatively, or in addition, debugging information can be skipped for compilation. The default compile flags are
|
||||
`-g -O2`, and can be changed with:
|
||||
|
||||
./configure CXXFLAGS="-O2"
|
||||
|
||||
Finally, clang (often less resource hungry) can be used instead of gcc, which is used by default:
|
||||
|
||||
./configure CXX=clang++ CC=clang
|
||||
|
||||
## Linux Distribution Specific Instructions
|
||||
|
||||
|
|
Loading…
Reference in a new issue