Some cygwin/mingw related things
Sigbjorn Finne
sof at galois.com
Fri Dec 10 12:51:31 EST 2004
Sounds to me as if you've got a cygwin 'gcc' ahead of
a mingw one in your path, causing you to use the former
whilst "./configure"ing. If that's the case, play around with
your PATH setting or use the -with-gcc=<foo> option
to ./configure.
--sigbjorn
----- Original Message -----
From: "Josef Svenningsson" <josefs at cs.chalmers.se>
To: <cvs-ghc at haskell.org>
Sent: Thursday, December 09, 2004 09:53
Subject: Some cygwin/mingw related things
> Hi,
>
> I'm using cygwin/mingw for my everyday work, including compiling ghc from
> cvs. Here are some things that I have needed to hack around in order to
> compile ghc. Now, I don't know how to handle those things properly so I'd
> appreciate if someone with Knowledge could fix these things.
>
> There is a couple of issues in HsBaseConfig.h. HAVE_TERMIOS is defined
> even though I don't have it. Similarly with HAVE_LSTAT, HAVE_GMTIME_R and
> HAVE_LOCALTIME_R.
>
> When compiling libraries/network/Network/BSD.hsc I get a complaint that
> PATH_MAX is not defined.
>
> Finally, there is some weird things going on in
> libraries/base/System/Posix/Internals.hs. It seems that there is an
> assumption in the code that if HTYPE_TCFLAG_T is set then we're not
> compiling on windows. Well, HTYPE_TCFLAG_T was set and that led to
> complaints about a number of functions being missing. The problems are in
> the definition of tcSetAttr.
>
> Thanks,
>
> /Josef
>
> _______________________________________________
> 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