2012/2/7 Henry Vermaak <henry.verm...@gmail.com>:

>  Just make sure you have enough swap space, since I've got 512MB and that
> isn't sufficient to build lazarus.

If you use the following flags then ld will use considerably less
memory during linking:
-k--no-keep-memory -k--reduce-memory-overheads

This makes a huge difference for me on my ancient 500MB Laptop when
building Lazarus. Also disabling smart linkable and smart linking and
creation of debug info will cut memory usage down by another ~100 MB
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to