[Hackage] #504: executables with a C main function

Hackage cvs-ghc at haskell.org
Sat May 28 14:37:00 CEST 2011


#504: executables with a C main function
------------------------------+---------------------------------------------
  Reporter:  duncan           |        Owner:         
      Type:  enhancement      |       Status:  new    
  Priority:  normal           |    Milestone:         
 Component:  Cabal library    |      Version:  1.6.0.1
  Severity:  normal           |     Keywords:         
Difficulty:  easy (<4 hours)  |   Ghcversion:         
  Platform:                   |  
------------------------------+---------------------------------------------

Comment(by dankna):

 I have submitted a patch for this with darcs send.  My patch simply
 relaxes the restriction on the name of the file given to main-is: to also
 allow known C-language extensions.  The ticket description suggested that
 -no-hs-main might be required in this situation, but that seems to no
 longer be the case.  There might still be a problem when the entry point
 is WinMain() instead of main(); see GHC ticket #2459 (at
 http://hackage.haskell.org/trac/ghc/ticket/2459 ).  I'm not really set up
 to test that case.

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/504#comment:4>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects



More information about the cabal-devel mailing list