Cabal and installing packages.

Keean Schupke k.schupke at imperial.ac.uk
Tue Dec 7 07:30:28 EST 2004


Duncan Coutts wrote:

>> Yes, it's been common in gentoo land in recent years for ebuilds 
>> toignore the user supplied CFLAGS entirely or strip out certain flags to
>
>stop people from shooting themselves in the foot.
>
>Unlike for C, for Haskell compilers there are fewer interesting
>optimisation or platform specific flags (think -O?, -march=???,
>-fbe-really-sloppy-with-floating-point etc etc). This is a good thing
>since there is less desire to fiddle.
>
>I agree, for our various Haskell ebuilds we do not provide any easy way
>for users to override HCFLAGS.
>  
>
As someone who nearly always uses -fvia-C, I find there are just as
many nifty performance enhancing flags usable for example:

-O2 -fvia-C -ffast-math -mfpmath=sse,387 -fomit-frame-pointer 
-fexpensive-optimizations

    Keean.



More information about the Libraries mailing list