[GHC] #2021: let ghc find framework header files and link with frameworks located in $HOME/Library/Frameworks

GHC trac at galois.com
Tue Jan 8 01:33:35 EST 2008


#2021: let ghc find framework header files and link with frameworks located in
$HOME/Library/Frameworks
-----------------------------+----------------------------------------------
 Reporter:  maeder           |          Owner:             
     Type:  feature request  |         Status:  new        
 Priority:  normal           |      Milestone:             
Component:  Compiler         |        Version:  6.8.2      
 Severity:  normal           |     Resolution:             
 Keywords:                   |     Difficulty:  Easy (1 hr)
 Testcase:                   |   Architecture:  Multiple   
       Os:  MacOS X          |  
-----------------------------+----------------------------------------------
Comment (by thorkilnaur):

 This sounds like a problem in the GHC build process, then. Not something
 that should necessarily involve changes to GHC (as proposed in the present
 ticket). Nor to Cabal, for that matter
 (http://hackage.haskell.org/trac/hackage/ticket/189).

 I still believe that we must start out by figuring out what the total
 problem is. So in this case, I would expect to start out with a detailed
 list of changes, under the present circumstances, needed to add whatever
 framework-related parameters are needed in whatever phase of the
 GHC/libraries build process they are needed, to introduce a new framework.
 And then, in terms of the GHC/libraries build process, figure out a way to
 become able to, as you say, introduce the framework in just one place.

 It may very well turn out that we find, in this process, that some other
 component, GHC, Cabal, some utility program, also needs to be extended:
 hsc2hs has been discussed, the Haskell CPP implementation comes to mind as
 another place where changes might be needed. But without the total view,
 it is difficult to decide whether any particular proposed change makes
 sense.

 Best regards Thorkil

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


More information about the Glasgow-haskell-bugs mailing list