Skip to content
  • Duncan Coutts's avatar
    d73537fb
    Add xargs function and use it when linking. · d73537fb
    Duncan Coutts authored
    When using GHC's --split-objs we end up with lots of files to link.
    This can mean overflowing the maximum length of the command line
    when invoking ar or ld. On windows the maximum length is 32k. On
    other systems it's not a great deal more. GHC currently deals with
    this problem by using xargs. This patch does more or less the same.
    d73537fb
    Add xargs function and use it when linking.
    Duncan Coutts authored
    When using GHC's --split-objs we end up with lots of files to link.
    This can mean overflowing the maximum length of the command line
    when invoking ar or ld. On windows the maximum length is 32k. On
    other systems it's not a great deal more. GHC currently deals with
    this problem by using xargs. This patch does more or less the same.
Loading