Re: [GHC] #1502: GHC should integrate better with mingw

2009-04-27 Thread GHC
#1502: GHC should integrate better with mingw
-+--
Reporter:  eivuokko  |Owner: 
Type:  feature request   |   Status:  closed 
Priority:  high  |Milestone:  6.12.1 
   Component:  Compiler  |  Version:  6.6.1  
Severity:  normal|   Resolution:  fixed  
Keywords:  windows   |   Difficulty:  Unknown
Testcase:|   Os:  Windows
Architecture:  Unknown/Multiple  |  
-+--
Changes (by simonmar):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 Replying to [comment:5 claus]:
 > Instead of including the mingw installer, how about preserving the
 internal directory layout of the bits of mingw that get included?

 GHC now does this, in the new build system.

-- 
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] #1502: GHC should integrate better with mingw

2009-04-10 Thread GHC
#1502: GHC should integrate better with mingw
-+--
Reporter:  eivuokko  |Owner: 
Type:  feature request   |   Status:  new
Priority:  high  |Milestone:  6.12.1 
   Component:  Compiler  |  Version:  6.6.1  
Severity:  normal|   Resolution: 
Keywords:  windows   |   Difficulty:  Unknown
Testcase:|   Os:  Windows
Architecture:  Unknown/Multiple  |  
-+--
Changes (by igloo):

  * priority:  normal => high
  * milestone:  6.12 branch => 6.12.1

-- 
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] #1502: GHC should integrate better with mingw

2009-02-10 Thread GHC
#1502: GHC should integrate better with mingw
-+--
Reporter:  eivuokko  |Owner: 
Type:  feature request   |   Status:  new
Priority:  normal|Milestone:  6.12 branch
   Component:  Compiler  |  Version:  6.6.1  
Severity:  normal|   Resolution: 
Keywords:  windows   |   Difficulty:  Unknown
Testcase:|   Os:  Windows
Architecture:  Unknown/Multiple  |  
-+--
Changes (by igloo):

  * milestone:  6.10.2 => 6.12 branch

Comment:

 We'll do this for the new build system, as we need to rewrite the code to
 put gcc etc in the right place anyway.

-- 
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] #1502: GHC should integrate better with mingw

2008-09-19 Thread GHC
#1502: GHC should integrate better with mingw
-+--
 Reporter:  eivuokko |  Owner: 
 Type:  feature request  | Status:  new
 Priority:  normal   |  Milestone:  6.10.2 
Component:  Compiler |Version:  6.6.1  
 Severity:  normal   | Resolution: 
 Keywords:  windows  | Difficulty:  Unknown
 Testcase:   |   Architecture:  Unknown
   Os:  Windows  |  
-+--
Changes (by simonmar):

  * milestone:  6.12 branch => 6.10.2

Comment:

 We agree, but it's too late to make this change for 6.10.1.  Moving to the
 6.10.2 milestone.

-- 
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] #1502: GHC should integrate better with mingw

2008-09-19 Thread GHC
#1502: GHC should integrate better with mingw
-+--
 Reporter:  eivuokko |  Owner: 
 Type:  feature request  | Status:  new
 Priority:  normal   |  Milestone:  6.12 branch
Component:  Compiler |Version:  6.6.1  
 Severity:  normal   | Resolution: 
 Keywords:  windows  | Difficulty:  Unknown
 Testcase:   |   Architecture:  Unknown
   Os:  Windows  |  
-+--
Changes (by NeilMitchell):

 * cc: [EMAIL PROTECTED] (added)

Comment:

 I agree with Claus here, GHC should ship its own minimal version of the
 necessary mingw tools, which is private to GHC. This would simplify the
 Windows Building instructions, and reduce the number of obvious mistakes
 people can make. People who want Mingw should install their own separate
 copy - if GHC tries to reuse an existing installation it becomes much more
 fragile with version shift.

-- 
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] #1502: GHC should integrate better with mingw

2008-09-19 Thread GHC
#1502: GHC should integrate better with mingw
-+--
 Reporter:  eivuokko |  Owner: 
 Type:  feature request  | Status:  new
 Priority:  normal   |  Milestone:  6.12 branch
Component:  Compiler |Version:  6.6.1  
 Severity:  normal   | Resolution: 
 Keywords:  windows  | Difficulty:  Unknown
 Testcase:   |   Architecture:  Unknown
   Os:  Windows  |  
-+--
Comment (by claus):

 Preserving the mingw structure within ghc would also keep the mingw tools
 out of ghc's bin directory! A current ghc head has:
 {{{
 $ ls /cygdrive/c/ghc/ghc-6.9.20080918/bin/
 ar.exe*   ghci.exe* hasktags.exe*  hsc2hs.exe*
 windres.exe*
 ghc-pkg.exe*  ghcii.sh* hp2ps.exe* installPackage.exe*
 ghc.exe*  haddock.exe*  hpc.exe*   runghc.exe*

 $ ls /cygdrive/c/ghc/ghc-6.9.20080918/*.exe
 /cygdrive/c/ghc/ghc-6.9.20080918/gcc.exe*
 /cygdrive/c/ghc/ghc-6.9.20080918/touchy.exe*
 /cygdrive/c/ghc/ghc-6.9.20080918/perl.exe*
 /cygdrive/c/ghc/ghc-6.9.20080918/unlit.exe*

 $ ls /cygdrive/c/ghc/ghc-6.9.20080918/gcc-lib/*.exe
 /cygdrive/c/ghc/ghc-6.9.20080918/gcc-lib/as.exe*
 /cygdrive/c/ghc/ghc-6.9.20080918/gcc-lib/cc1.exe*
 /cygdrive/c/ghc/ghc-6.9.20080918/gcc-lib/cc1plus.exe*
 /cygdrive/c/ghc/ghc-6.9.20080918/gcc-lib/collect2.exe*
 /cygdrive/c/ghc/ghc-6.9.20080918/gcc-lib/dlltool.exe*
 /cygdrive/c/ghc/ghc-6.9.20080918/gcc-lib/dllwrap.exe*
 /cygdrive/c/ghc/ghc-6.9.20080918/gcc-lib/ld.exe*
 }}}

 So, if I want to use that ghc, I have to put its path after my local mingw
 one (or I will pick up the wrong versions) in which case ghc might pick
 the wrong versions (unless it has the relative paths hardcoded, as is
 likely; in which case it doesn't need ar/windres in its own bin/).

 If that stuff ended up not in `ghc-/bin`, but in
 `ghc-/mingw/bin` (or `ghc-/mingw/libexec/...`), wouldn't
 everything get simpler?

-- 
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] #1502: GHC should integrate better with mingw

2008-09-18 Thread GHC
#1502: GHC should integrate better with mingw
-+--
 Reporter:  eivuokko |  Owner: 
 Type:  feature request  | Status:  new
 Priority:  normal   |  Milestone:  6.12 branch
Component:  Compiler |Version:  6.6.1  
 Severity:  normal   | Resolution: 
 Keywords:  windows  | Difficulty:  Unknown
 Testcase:   |   Architecture:  Unknown
   Os:  Windows  |  
-+--
Comment (by claus):

 Instead of including the mingw installer, how about preserving the
 internal directory layout of the bits of mingw that get included?

 That would avoid the need for extra `-B` flags in ghc, cabal, hsc2hs, ..,
 it would make gcc much less prone to picking up the wrong
 executables/libraries/include files from other places, allowing it to work
 as intended (its build-in paths start searching relative to the gcc
 executable, allowing relocation). See this cvs-ghc thread for more
 details:

 ghc head on windows: gcc.exe: installation problem, cannot exec `cc1': No
 such file or directory

 http://www.haskell.org/pipermail/cvs-ghc/2008-September/045161.html

-- 
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] #1502: GHC should integrate better with mingw

2008-07-14 Thread GHC
#1502: GHC should integrate better with mingw
-+--
 Reporter:  eivuokko |  Owner: 
 Type:  feature request  | Status:  new
 Priority:  normal   |  Milestone:  6.12 branch
Component:  Compiler |Version:  6.6.1  
 Severity:  normal   | Resolution: 
 Keywords:  windows  | Difficulty:  Unknown
 Testcase:   |   Architecture:  Unknown
   Os:  Windows  |  
-+--
Changes (by igloo):

  * milestone:  6.10 branch => 6.12 branch

-- 
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] #1502: GHC should integrate better with mingw

2007-11-13 Thread GHC
#1502: GHC should integrate better with mingw
-+--
 Reporter:  eivuokko |  Owner: 
 Type:  feature request  | Status:  new
 Priority:  normal   |  Milestone:  6.10 branch
Component:  Compiler |Version:  6.6.1  
 Severity:  normal   | Resolution: 
 Keywords:  windows  | Difficulty:  Unknown
 Testcase:   |   Architecture:  Unknown
   Os:  Windows  |  
-+--
Changes (by simonmar):

  * os:  Unknown => Windows
  * milestone:  6.8 branch => 6.10 branch

-- 
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] #1502: GHC should integrate better with mingw

2007-07-22 Thread GHC
#1502: GHC should integrate better with mingw
+---
Reporter:  eivuokko |Owner: 
Type:  feature request  |   Status:  new
Priority:  normal   |Milestone:  6.8
   Component:  Compiler |  Version:  6.6.1  
Severity:  normal   |   Resolution: 
Keywords:  windows  |   Difficulty:  Unknown
  Os:  Unknown  | Testcase: 
Architecture:  Unknown  |  
+---
Changes (by igloo):

  * milestone:  => 6.8

Comment:

 Having talked with eivuokko, the problem seems to be that, as ghc's mingw
 stuff doesn't have the standard layout, adding things like extra mingw
 headers (which you'd normally do by untarring over the top of your mingw
 installation) is more work.

 I think we agreed that it would be great if the GHC installer could
 include the mingw installer, and automatically run it (unless instructed
 otherwise by the user; it could also try to detect if mingw is already
 installed), installing mingw in the standard place and running it from
 there. We'd need some config file to tell GHC where to find the mingw it
 should use.

 This should make everything less fragile (e.g. I've recently had problems
 with Cabal making assumptions that aren't true for an inplace GHC) and
 easier to work with.

 I'm not sure if we'll be able to make all this work in time for 6.8,
 unfortunately, but if we can then it would be great.

-- 
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] #1502: GHC should integrate better with mingw

2007-07-22 Thread GHC
#1502: GHC should integrate better with mingw
+---
Reporter:  eivuokko |Owner: 
Type:  feature request  |   Status:  new
Priority:  normal   |Milestone: 
   Component:  Compiler |  Version:  6.6.1  
Severity:  normal   |   Resolution: 
Keywords:  windows  |   Difficulty:  Unknown
  Os:  Unknown  | Testcase: 
Architecture:  Unknown  |  
+---
Comment (by igloo):

 I'm not sure I understand: If you want more mingw/msys tools, then why not
 install mingw/msys? The tools that GHC does copy across are really only
 intended to be used by GHC internally.

 Thanks

 Ian

-- 
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


[GHC] #1502: GHC should integrate better with mingw

2007-07-06 Thread GHC
#1502: GHC should integrate better with mingw
--+-
  Reporter:  eivuokko |  Owner: 
  Type:  feature request  | Status:  new
  Priority:  normal   |  Milestone: 
 Component:  Compiler |Version:  6.6.1  
  Severity:  normal   |   Keywords:  windows
Difficulty:  Unknown  | Os:  Unknown
  Testcase:   |   Architecture:  Unknown
--+-
When developing in Windows, it is very common to require many more tools
 than what's available with GHC.  I have myself used
  * strip
  * nm
  * reimp
  * dlltool
  * pexport
  * windres

 Also, when installing libraries/headers for mingw/msys and are going to
 use them with GHC, the only way to get them linked is to copy them to GHC
 installation as well.  So, I'd really like if I could tell GHC via flag or
 preferably via configuration file.  But GHC would probably need to
 organize the includes and archives differently than it does now.

 Configuring via files would also allow Cabal to make use of these tools
 without much extra fiddling.

-- 
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