[GHC] #2933: LDFLAGS ignored by build system

GHC trac at galois.com
Mon Jan 12 05:40:05 EST 2009


#2933: LDFLAGS ignored by build system
---------------------------------+------------------------------------------
    Reporter:  duncan            |        Owner:             
        Type:  bug               |       Status:  new        
    Priority:  normal            |    Milestone:  6.10 branch
   Component:  Build System      |      Version:  6.10.1     
    Severity:  normal            |   Resolution:             
    Keywords:                    |   Difficulty:  Unknown    
    Testcase:                    |           Os:  Solaris    
Architecture:  Unknown/Multiple  |  
---------------------------------+------------------------------------------
Changes (by simonmar):

  * difficulty:  => Unknown
  * milestone:  => 6.10 branch

Comment:

 I'm surprised if `--with-gmp-libraries` doesn't work - as far as I can see
 it should, because we add those directories to the `library-dirs` field of
 the RTS `package.conf`.  Incedentally GMP should really have its own
 package, which would then be a good place to put these options, along with
 any -R options you also want to add.

 If we were to support `LDFLAGS`, where should they be added?  We have the
 option of adding them when linking programs built with

   1. the bootstrapping GHC (stage0)
   2. stage1
   3. stage2
   4. the final installed GHC

 I'm not sure which of these we should be adding `LDFLAGS` to.

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


More information about the Glasgow-haskell-bugs mailing list