Ticket #2460 (new feature request)

Opened 5 years ago

Last modified 9 months ago

provide -mwindows option like gcc

Reported by: jvl Owned by:
Priority: lowest Milestone: 7.6.2
Component: Compiler Version: 6.8.2
Keywords: Cc: dterei
Operating System: Windows Architecture: Unknown/Multiple
Type of failure: None/Unknown Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

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.

Change History

Changed 5 years ago 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.

Changed 5 years ago by igloo

  • difficulty set to Unknown
  • milestone set to 6.12 branch

Changed 5 years ago by simonmar

  • architecture changed from Unknown to Unknown/Multiple

Changed 3 years ago by igloo

  • milestone changed from 6.12 branch to 6.12.3

Changed 3 years ago by igloo

  • priority changed from normal to low
  • milestone changed from 6.12.3 to 6.14.1

Changed 2 years ago by igloo

  • milestone changed from 7.0.1 to 7.0.2

Changed 2 years ago by igloo

  • milestone changed from 7.0.2 to 7.2.1

Changed 2 years ago by dterei

  • cc dterei added
  • failure set to None/Unknown

Changed 21 months ago by igloo

  • milestone changed from 7.2.1 to 7.4.1

Changed 16 months ago by igloo

  • priority changed from low to lowest
  • milestone changed from 7.4.1 to 7.6.1

Changed 9 months ago by igloo

  • milestone changed from 7.6.1 to 7.6.2
Note: See TracTickets for help on using tickets.