Linking in Dead Code

Guy guytsalmaves-h at
Sat May 14 21:41:13 CEST 2011

On 14/05/2011 21:12, Don Stewart wrote:
> When compiled with "split objs" GHC makes it possible for the linker
> to do dead code stripping. Make sure your GHC has split-objs on.

In the case that split-objs wasn't used, is this a GHC limitation, or an ld limitation? The Delphi linker eliminates 
unused code from monolithic object files (if I remember correctly), so presumably this isn't an inherent limitation of 

More information about the Glasgow-haskell-users mailing list