[GHC] #2460: provide -mwindows option like gcc

View: New views
3 Messages — Rating Filter:   Alert me  

[GHC] #2460: provide -mwindows option like gcc

by GHC-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#2460: provide -mwindows option like gcc
--------------------------------+-------------------------------------------
    Reporter:  jvl              |       Owner:          
        Type:  feature request  |      Status:  new    
    Priority:  normal           |   Component:  Compiler
     Version:  6.8.2            |    Severity:  normal  
    Keywords:                   |    Testcase:          
Architecture:  Unknown          |          Os:  Windows
--------------------------------+-------------------------------------------
 provide a command line option -mwindows (aka main windows) to compile and
 link the code as a windows executable (i.e. WinMain). This is mearly a
 matter of passing through the option to gcc and would be trivial to
 implement. see #2459 for full discussion.

 Why Bother ?

 To enahnce "User Friendliness" and encourage gui users on win32 aka
 wxHaskell and Gtk2Hs users to produce application with "Native" look and
 feel.

--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2460>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@...
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Re: [GHC] #2460: provide -mwindows option like gcc

by GHC-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#2460: provide -mwindows option like gcc
--------------------------------+-------------------------------------------
    Reporter:  jvl              |        Owner:        
        Type:  feature request  |       Status:  new    
    Priority:  normal           |    Milestone:        
   Component:  Compiler         |      Version:  6.8.2  
    Severity:  normal           |   Resolution:        
    Keywords:                   |     Testcase:        
Architecture:  Unknown          |           Os:  Windows
--------------------------------+-------------------------------------------
Comment (by duncan):

 Of course one can already use `-optl-mwindows` which is what the Gtk2Hs
 FAQ has been recommending for the past couple years.

 If we want to make it really user friendly we should deal with the issue
 that when in `-mwindows` mode, reading from stdin or writing to
 stdout/stderr causes an exception.

--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2460#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@...
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Re: [GHC] #2460: provide -mwindows option like gcc

by GHC-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#2460: provide -mwindows option like gcc
-----------------------------+----------------------------------------------
 Reporter:  jvl              |          Owner:            
     Type:  feature request  |         Status:  new        
 Priority:  normal           |      Milestone:  6.12 branch
Component:  Compiler         |        Version:  6.8.2      
 Severity:  normal           |     Resolution:            
 Keywords:                   |     Difficulty:  Unknown    
 Testcase:                   |   Architecture:  Unknown    
       Os:  Windows          |  
-----------------------------+----------------------------------------------
Changes (by igloo):

  * difficulty:  => Unknown
  * milestone:  => 6.12 branch

--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2460#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@...
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
LightInTheBox - Buy quality products at wholesale price