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

Hackage trac at galois.com
Fri May 8 14:40:21 EDT 2009


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

 So it looks like we should be using the flags `as -r -s -c` on all
 platforms. According to the GNU, Solaris and OSX man pages these flags are
 ok. The mingw version of `ar` also seems to support them.

 The only reason to use the `-q` flag appears to be if we're having to call
 `ar` many times due to command line length limitations, in which case the
 first time we should use `-q -c`, the intermediate times `-q` and the
 final time `-r -s`.

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


More information about the cabal-devel mailing list