#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 simonmar):
This is an easy change to make to GHC, it doesn't do any harm, and it
simplifies usage for some people. While Cabal should probably call gcc
directly, that's a separate issue.
The reason GHC accepts .c files on the command line is so that the user
doesn't have to remember where to find `HsFFI.h`, for example (indeed,
they probably shouldn't have to know where to find `HsFFI.h`). Cabal also
knows this and can pass the right flags to gcc, but often it's convenient
to use GHC directly. The same applies to Obj-C.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5025#comment:6>
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