On Mon, Jun 30, 2003 at 03:59:44PM +0100, Simon Marlow wrote:
> The original problem was that you can't specify an alternate location
> for readline.  Just adding CFLAGS etc. to SRC_HC_OPTS doesn't solve
> this: the package.conf for the readline package also needs to point to
> the correct location for readline.  There are similar problems for GMP.

That's what I'm actually working slowly towards...A safe approximisation
is adding the linker flags to the appropriate section in package.conf
(tested with libbfd & libiberty, though not committed). Only for weird
setups I can imagine where any flags *required* for compiling GHC
wouldn't be required for compiling Haskell programs with said GHC.
I have another intersting candidate for this in the pipeline as well.

> The configure script should probably discover the location of
> libreadline.a, and pass this information to config.mk.

And for libdl. And each other hoop your favourite operating system
makes you jump through (e.g. -pthread on FreeBSD).
How about backing this out when the lacking feature is finally
available? Unless I'm completely mistaken and it indeed breaks
things when running configure even with cleared flags.
-- 
"Gemischte Materialien // Fr�her: Restm�ll"
Aufschrift auf einem Container, Informatik-Parkplatz
http://lambda.foldr.org/~vs/ * PGP * S/MIME
_______________________________________________
Cvs-fptools mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-fptools

Reply via email to