[MacPorts] #20132: ghc missing variable definitions in 10.6

MacPorts noreply at macports.org
Wed Mar 10 08:51:15 PST 2010


#20132: ghc missing variable definitions in 10.6
------------------------------+---------------------------------------------
 Reporter:  snc@…             |       Owner:  gwright@…           
     Type:  defect            |      Status:  assigned            
 Priority:  Normal            |   Milestone:                      
Component:  ports             |     Version:  1.8.0               
 Keywords:  snowleopard       |        Port:  ghc                 
------------------------------+---------------------------------------------

Comment(by gwright@…):

 You'll only get 64 bits on Snow Leopard; Leopard will only be 32 bits.  So
 the default will be a compiler that builds the preferred native
 executable.  The reason for having a 32 bit compiler on Snow Leopard is to
 generate binaries that will run on Leopard.  If you generate a 64 bit
 executable, you'll only be able to run it on Snow Leopard.

 Unfortunately, ghc's build system is fragile and can't handle things like
 a 64 bit compiler executable building 32 bit executable.   At the moment,
 the only practical option is a 32 bit ghc executable that makes 32 bit
 binaries, or a 64 bit ghc executable that makes 64 bit binaries.  My plan
 is to make the 64 bit ghc the default on Snow Leopard.  I'll make a
 separate port for a 32 bit ghc generating 32 bit executables that is only
 for Snow Leopard.  GHC by itself can not produce universal binaries.

-- 
Ticket URL: <http://trac.macports.org/ticket/20132#comment:102>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list