[nightly] 15-Apr-2004 build of HEAD on Mingw32 (water)

Simon Peyton-Jones simonpj at microsoft.com
Tue Apr 20 11:25:54 EDT 2004


Well, if you are a Cygwin user, you might well expect to get the Cygwin
gcc when you type 'gcc' on the command line.  In general I think it's
more robust if mingw/bin doesn't appear in your PATH *at all*.  That's
why I always configure with
	--with-gcc=c:/mingw/bin/gcc

Sounds as if I should add
	--with-dllwrap=c:/mingw/bin/dllwrap

Is that right?  Would configure understand that?  If not, could one of
you make it do so?  Let me know and I'll update the instructions.


(Of course, if you are using MSYS, then msys/bin will be in your path,
and that gcc probably is the same as mingw/bin/gcc; ditto dllwrap.  But
doing the --with stuff ensures you are independent of the PATH and build
platform.)

Simon 

| -----Original Message-----
| From: cvs-all-bounces at haskell.org [mailto:cvs-all-bounces at haskell.org]
On Behalf Of Sigbjorn Finne
| Sent: 16 April 2004 01:16
| To: Mike Thomas
| Cc: cvs-ghc at haskell.org
| Subject: Re: [nightly] 15-Apr-2004 build of HEAD on Mingw32 (water)
| 
| Hi Mike,
| 
| good to hear that your change did the trick.
| 
| There may have been a good reason for arranging your PATH to
| not include mingw/bin ahead of cygwin path entries sometime
| in the distant past, but there's no reason not to do this today. I've
| been building fptools/ bits using that setup for years now.
| 
| --sigbjorn
| 
| ----- Original Message -----
| From: "Mike Thomas" <mike.thomas at brisbane.paradigmgeo.com>
| To: "Sigbjorn Finne" <sof at galois.com>;
<miketh at brisbane.paradigmgeo.com>
| Cc: <cvs-ghc at haskell.org>
| Sent: Thursday, April 15, 2004 17:01
| Subject: RE: [nightly] 15-Apr-2004 build of HEAD on Mingw32 (water)
| 
| 
| > Hi Sigbjorn.
| >
| > Thanks for the excellent observation.
| >
| > | I've seen this build error flit past for quite a while.
| >
| > Yes; I'm so deeply enmired in GNU Common Lisp and Maxim Windows
ports  at
| > the moment that I just run an occasional GHC build to make myself
feel
| > better, but with little regard for the output.
| >
| >
| > | As far as I'm able
| > | to diagnose, it appears as if it might be due to a local mingw
setup
| > | issue; I'm able to build HDirect just fine using multiple mingw
| > | versions/installations.
| > |
| > | 'dllwrap' perhaps being slurped in from a location other than the
| > | mingw installation tree?
| > |
| >
| > Well spotted.  I just ran a test with the dllwrap entry in
| > "hdirect/mk/paths.mk" hardwired to the MinGW32 dllwrap and it all
went
| > perfectly.
| >
| > This is going wrong because I am building according to the
instructions on
| > the GHC web site which explicitly forbid putting MinGW32 modules
ahead of
| > Cygwin (fow the past few months anyway, I once used to ignore this
aspect
| of
| > the build instructions which I regard(ed) as bad):
| >
| > "Do not add any of the mingw binaries to your path. They are only
going to
| > get used by explicit access (via the --with-gcc flag you give to
configure
| > later). If you do add them to your path you are likely to get into a
mess
| > because their names overlap with Cygwin binaries."
| >
| > I'll aim to do a build tonight with MinGW32 back in it's rightful
place in
| > the path to make sure the whole system works correctly.
| >
| >
| > Cheers
| >
| > Mike Thomas.
| >
| 
| _______________________________________________
| Cvs-ghc mailing list
| Cvs-ghc at haskell.org
| http://www.haskell.org/mailman/listinfo/cvs-ghc


More information about the Cvs-ghc mailing list