#5025: GHC should support -x objective-c
---------------------------------+------------------------------------------
    Reporter:  guest             |        Owner:                         
        Type:  feature request   |       Status:  new                    
    Priority:  high              |    Milestone:  7.2.1                  
   Component:  Compiler          |      Version:  7.0.2                  
    Keywords:  objective-c       |     Testcase:                         
   Blockedby:                    |   Difficulty:  Easy (less than 1 hour)
          Os:  MacOS X           |     Blocking:                         
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown           
---------------------------------+------------------------------------------

Comment(by guest):

 I was under the impression this is an easy change for GHC.

 This would be a much harder change for Cabal as Cabal would have to figure
 out all the right flags to pass to GCC to match GHC.

 It certainly raises the question, why does Cabal pass .c files to GHC?  I
 think if you're going to pass .m files directly to gcc then .c files
 should be passed directly to gcc also so that things are built/handled
 consistently.

 To get a feeling of how hard it would be to get Cabal to support this, see
 this ticket that is over 3 years old:
 http://hackage.haskell.org/trac/hackage/ticket/229

 This would also be a nice feature for people who aren't using Cabal at
 all.

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

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to