--with-hc only configures what's used to compile 'generic' Haskell
code (i.e., not the contens of ghc/compiler). (As Simon suggests),
use --with-ghc to control what GHC to to use to compile the
compiler bits, i.e.,
./configure --with-ghc=/usr/local/bin/ghc-5.02.2 \
--with-hc=/usr/local/bin/ghc-5.02.2
will use 5.02.2 all over the place.
hth
--sigbjorn
----- Original Message -----
From: "Leon Smith" <[EMAIL PROTECTED]>
To: "Simon Marlow" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, January 23, 2002 11:24
Subject: Re: Compilation bug
> Ok, I configured ghc-5.02.2 using the option
> --with-hc=/usr/local/bin/ghc-5.02.2. Then, when I compiled it, sometime
it
> would use /usr/local/bin/ghc-5.02.2, and sometimes it would use
/usr/bin/ghc,
> which is ghc-4.08.1 that was supplied with my Debian system.
>
> Then, I changed my path to have /usr/local/bin in front of /usr/bin,
removed
> the build tree, and recreated the links. Again, I used the --with-hc
option,
> but even then, it's still occasionally using /usr/local/bin/ghc. This
> happens to be a symbolic link to ghc-5.02.2, but it still shouldn't be
doing
> this.
>
> best,
> leon
>
>
> _______________________________________________
> Glasgow-haskell-bugs mailing list
> [EMAIL PROTECTED]
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs