patch applied (packages/Cabal): Add xargs function and use it when linking.

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Mon Aug 21 08:19:09 EDT 2006


Thu Aug 17 18:04:49 PDT 2006  Duncan Coutts <duncan.coutts at worc.ox.ac.uk>
  * Add xargs function and use it when linking.
  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.

    M ./Distribution/Simple/GHC.hs -13 +37
    M ./Distribution/Simple/Utils.hs -1 +32


More information about the Cvs-libraries mailing list