doc: Mention other ways to conserve memory on compilation

This commit is contained in:
MarcoFalke 2019-08-12 09:03:18 -04:00
parent 32776276ef
commit fa7789f731
No known key found for this signature in database
GPG key ID: CE2B75697E69A548

View file

@ -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