[GHC] #10171: runghc has problem when the argument list is too big

GHC ghc-devs at haskell.org
Thu Mar 19 22:54:17 UTC 2015


#10171: runghc has problem when the argument list is too big
-------------------------------------+-------------------------------------
        Reporter:  redneb            |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  low               |               Milestone:
       Component:  Compiler          |                 Version:  7.11
      Resolution:                    |                Keywords:
Operating System:  POSIX             |            Architecture:
 Type of failure:  Runtime crash     |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:  #7980             |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by redneb):

 What about adding a new flag to `ghc`, say `--run`, that would make it
 work like `runghc`, e.g.
 {{{
 ghc --run script.hs arg1 arg2
 }}}
 and also make `ghc` add the flag automatically to its arguments when
 invoked as `runghc` so that we could make `runghc` (and `runhaskell` of
 course) as simple symlink to `ghc`.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10171#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list