#1883: GHC can't find library using "short" name
----------------------------------+-----------------------------------------
 Reporter:  m4dc4p                |          Owner:             
     Type:  bug                   |         Status:  new        
 Priority:  normal                |      Milestone:  6.10 branch
Component:  Compiler              |        Version:  6.6.1      
 Severity:  normal                |     Resolution:             
 Keywords:  link library windows  |     Difficulty:  Unknown    
 Testcase:                        |   Architecture:  x86        
       Os:  Windows               |  
----------------------------------+-----------------------------------------
Comment (by simonmar):

 This is not a complete fix, but I made the linker look for "libXXX.dll" in
 addition to "XXX.dll".

 {{{
 Wed Sep  3 11:49:51 GMT Daylight Time 2008  Simon Marlow
 <[EMAIL PROTECTED]>
   * Windows: print an error message in addDLL
   Also, look for libXXX.dll in addition to XXX.dll (see #1883, this
   isn't really a proper fix, but it'll help in some cases).
   And I tidied up the error message for a DLL load failure, though it's
   still a bit of a mess because addDLL is supposed to return a (static)
   string with the error message, but this isn't possible on Windows.
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1883#comment:7>
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