How to optimize the memory usage of "linking"?

19 Nov
2010
19 Nov
'10
1:15 a.m.
Hi, When I use ghc to make large project, the almost-final step of linking takes a lot of memory. This is horrible on host with little memory (i.e. 512MB). Is there any way I can optimize this? Thanks. -- 竹密岂妨流水过 山高哪阻野云飞

19 Nov
19 Nov
3:09 p.m.
On 10-11-19 01:15 AM, Magicloud Magiclouds wrote:
When I use ghc to make large project, the almost-final step of linking takes a lot of memory. This is horrible on host with little memory (i.e. 512MB). Is there any way I can optimize this? Thanks.
I heard there is Gold Linker http://en.wikipedia.org/wiki/Gold_%28linker%29 Andy Stewart (Manatee author) seems to use it to great success. In ubuntu the package name is binutils-gold.
5298
Age (days ago)
5298
Last active (days ago)
1 comments
2 participants
participants (2)
-
Albert Y. C. Lai
-
Magicloud Magiclouds