#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           
---------------------------------+------------------------------------------
Changes (by thoughtpolice):

 * cc: as@… (added)


Comment:

 I have a patch that will let GHC understand .m files and correctly give
 them to GCC with `-x objective-c` and so GHC can also compile standalone
 objective-C code. It creates a new stage in DriverPhases for the
 objective-c case, perhaps it should also be extended to support
 objective-c++?

 These were darcs patches, but since then the git switchover has happened.
 They're pretty simple (maybe 10 lines,) so I'll move them over to git and
 post diffs shortly. I also need to write a patch for the testsuite.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5025#comment:7>
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