Ticket #4118 (closed bug: wontfix)

Opened 3 years ago

Last modified 3 years ago

GHC forces gcc version on mingw32

Reported by: uzytkownik Owned by:
Priority: normal Milestone:
Component: Compiler Version: 6.12.1
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Building GHC failed Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

GHC forces internal gcc version on mingw32 instead of using system one.

Change History

Changed 3 years ago by duncan

  • status changed from new to closed
  • resolution set to wontfix

This is the intended behaviour. We cannot by default rely on an existing mingw or cygwin installation. There are sometimes subtle compatibility issues.

Of course if you specifically want to use a different gcc installation then that is fine. It is just that ghc should not use a different one automatically without the user knowing about it.

You can override the gcc that ghc uses by using command line flags (see the ghc user guide for details and note that you will need to specify all of -pgmc, -pgma and -pgml).

Note: See TracTickets for help on using tickets.