RE: Compilation bug
--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. I'll just add that setting both of these flags should be unnecessary: --with-hc defaults to the value of --with-ghc if one is given (or whatever GHC is installed otherwise). But it doesn't do any harm, of course. Cheers, Simon ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
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