Re: [GHC] #4824: Windows: Dynamic linking doesn't work out-of-the-box

2012-01-04 Thread GHC
#4824: Windows: Dynamic linking doesn't work out-of-the-box
-+--
Reporter:  Orphi |   Owner:  
Type:  bug   |  Status:  new 
Priority:  normal|   Milestone:  7.4.1   
   Component:  Runtime System| Version:  7.0.1   
Keywords:|  Os:  Windows 
Architecture:  Unknown/Multiple  | Failure:  None/Unknown
  Difficulty:  Unknown   |Testcase:  
   Blockedby:|Blocking:  
 Related:|  
-+--
Changes (by simonpj):

  * difficulty:  => Unknown


Old description:

> I did this:
>
> 1. Download and install GHC 7.0.1
>
> 2. Compile HelloWorld.hs with the "-dynamic" flag.
>
> 3. Run the resulting binary.
>
> When I run the program, I get a dialog box telling me that the program
> can't find the RTS DLL.
>
> If I move the necessary DLLs to somewhere in the search path, the binary
> runs just fine. The bug is that the Windows installer for GHC does not do
> this itself.
>
> (I've classified this bug as "runtime system", but really it's an
> installer bug, not an RTS bug.)
>
> Related to this are two complications:
>
> 1. The documentation fails to describe how GHC tries to find dynamic
> libraries on Windows. (Section 4.12.4 of the User Guide only explains how
> this is done for Unix and Mac OS.)
>
> 2. The DLLs are scattered all over the place. If they were all in one
> folder, I could just add that to the search path. But they aren't.

New description:

 I did this:

 1. Download and install GHC 7.0.1

 2. Compile `HelloWorld.hs` with the "-dynamic" flag.

 3. Run the resulting binary.

 When I run the program, I get a dialog box telling me that the program
 can't find the RTS DLL.

 If I move the necessary DLLs to somewhere in the search path, the binary
 runs just fine. The bug is that the Windows installer for GHC does not do
 this itself.

 (I've classified this bug as "runtime system", but really it's an
 installer bug, not an RTS bug.)

 Related to this are two complications:

 1. The documentation fails to describe how GHC tries to find dynamic
 libraries on Windows. (Section 4.12.4 of the User Guide only explains how
 this is done for Unix and Mac OS.)

 2. The DLLs are scattered all over the place. If they were all in one
 folder, I could just add that to the search path. But they aren't.

--

Comment:

 See also #5620

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #4824: Windows: Dynamic linking doesn't work out-of-the-box

2010-12-20 Thread GHC
#4824: Windows: Dynamic linking doesn't work out-of-the-box
-+--
Reporter:  Orphi |Owner:  
Type:  bug   |   Status:  new 
Priority:  normal|Milestone:  7.2.1   
   Component:  Runtime System|  Version:  7.0.1   
Keywords:| Testcase:  
   Blockedby:|   Difficulty:  
  Os:  Windows   | Blocking:  
Architecture:  Unknown/Multiple  |  Failure:  None/Unknown
-+--
Changes (by igloo):

  * milestone:  => 7.2.1


Comment:

 Thanks for the report.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs