#1786: can't build ghc-6.8.0.20071017 under Solaris using a GNU linker
-------------------------+--------------------------------------------------
    Reporter:  guest     |        Owner:                  
        Type:  bug       |       Status:  new             
    Priority:  normal    |    Milestone:  _|_             
   Component:  Compiler  |      Version:  6.8             
    Severity:  normal    |   Resolution:                  
    Keywords:            |   Difficulty:  Moderate (1 day)
          Os:  Solaris   |     Testcase:                  
Architecture:  x86       |  
-------------------------+--------------------------------------------------
Comment (by guest):

 gcc does not necessarily use the ld first in PATH. if i recall correctly,
 the gcc docs describe various routes to find gcc's tools, and on Solaris
 installs, those tend to be pre-configured to end up with Solaris ld. try
 'gcc -print-search-dirs' to see where it is looking before considering
 PATH, and have a look for GCC_EXEC_PREFIX (which is used before the
 preconfigured paths). of course, cabal/ghc should really make sure that
 they use the ld they've configured with:-)

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1786#comment:12>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to