[GHC] #7929: -pgma and -pgmc flags dont work as expected on mac

GHC cvs-ghc at haskell.org
Sat May 25 12:27:19 CEST 2013


#7929: -pgma and -pgmc flags dont work as expected on mac
---------------------------+------------------------------------------------
  Reporter:  carter        |          Owner:                
      Type:  bug           |         Status:  closed        
  Priority:  normal        |      Milestone:                
 Component:  Compiler      |        Version:  7.6.3         
Resolution:  worksforme    |       Keywords:                
        Os:  MacOS X       |   Architecture:  x86_64 (amd64)
   Failure:  None/Unknown  |     Difficulty:  Unknown       
  Testcase:                |      Blockedby:                
  Blocking:                |        Related:  7922,7678     
---------------------------+------------------------------------------------
Changes (by igloo):

  * status:  new => closed
  * resolution:  => worksforme


Comment:

 If you pass GHC the -v flag, then you can see what commands it's running,
 so you will be able to see the difference between using the `-pgm*` flags
 and changing the compiler in the `settings` file.

 I suspect that what you're running into is that using a `-pgmX` flag
 empties the flag list for `X`, so you will need to use `-optX` flags to
 add any necessary flags again. This is deliberate, as the current flag
 list is designed for a different `X`, so you may not want to use these
 flags with the new `X` (the new `X` may not even support them).

 If you still think there's a bug, please reopen and give more details
 about what's happening, and what you think should happen.

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



More information about the ghc-tickets mailing list