[Hackage] #318: Library cannnot be used when registered in-place on OS X

Hackage trac at galois.com
Mon Jun 8 05:19:07 EDT 2009


#318: Library cannnot be used when registered in-place on OS X
----------------------------+-----------------------------------------------
  Reporter:  guest          |        Owner:                 
      Type:  defect         |       Status:  closed         
  Priority:  normal         |    Milestone:  Cabal-1.8      
 Component:  Cabal library  |      Version:  1.4.0.1        
  Severity:  normal         |   Resolution:  fixed          
  Keywords:                 |   Difficulty:  easy (<4 hours)
Ghcversion:  6.8.3          |     Platform:  Mac OS         
----------------------------+-----------------------------------------------
Comment (by duncan):

 Ok so here's a technique that should work:

  * For non-OSX, use the same behaviour as we always did (ie up to and
 including Cabal-1.6)
  * For OSX when we have to use ar multiple times (e.g. when doing split-
 objs) we call @ar -q@ for the initial calls and for the final call use @ar
 -q -s at .

 I've had it confirmed that this works on OSX, it supports duplicates and
 creates the index.

 {{{
 Sun Jun  7 19:05:34 BST 2009  Duncan Coutts <duncan at haskell.org>
   * Use new Program.Ld and Program.Ar in GHC module

 Sun Jun  7 19:02:57 BST 2009  Duncan Coutts <duncan at haskell.org>
   * Add specialised modules for handling ar and ld
 }}}

 Now needs testing.

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/318#comment:15>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects


More information about the cabal-devel mailing list