On Fri, May 13, 2011 at 04:08:49PM +1000, Mathew de Detrich wrote:
> Well I didn't explicitly turn on profiling as an environment variable, but
> in any case filepath ships with GHC so that wouldn't fix anything (unless
> you wanted to use cabal2arch on filepath and have to rebuild the cache for
> GHC)

I may have been unclear (forgive me if I'm mistaken in believing I
haven't quite gotten my point across).  Here's the situation as I see
it:

• GHC ships with static libs, shared libs, and static libs for
  profiling (it's missing shared libs for profiling)
• cabal2arch generates a PKGBUILD that compiles static libs, shared
  libs and static libs for profiling
• Leksah turns on profiling when compiling shared libs

What you need to do is modify Leksah's cabal such that it *doesn't*
turn on profiling when compiling the shared libs.

/M

> On Fri, May 13, 2011 at 4:07 PM, Magnus Therning <mag...@therning.org>wrote:
> 
> > On Fri, May 13, 2011 at 03:49:55PM +1000, Mathew de Detrich wrote:
> > > Also I am not compiling leksah with profiling, I am just using cabal2arch
> > on
> > > the standard leksah package on
> > > http://hackage.haskell.org/packages/archive/leksah/0.10.0.4/leksah.cabal
> >
> > cabal2arch will create a PKGBUILD that supports profiling (you turn it
> > on using an environment variable) and it always turns on building of
> > shared libraries.
> >
> > /M
> >
> > --
> > Magnus Therning                      OpenPGP: 0xAB4DFBA4
> > email: mag...@therning.org   jabber: mag...@therning.org
> > twitter: magthe               http://therning.org/magnus
> >
> > I invented the term Object-Oriented, and I can tell you I did not have
> > C++ in mind.
> >     -- Alan Kay
> >

-- 
Magnus Therning                      OpenPGP: 0xAB4DFBA4 
email: mag...@therning.org   jabber: mag...@therning.org
twitter: magthe               http://therning.org/magnus

I invented the term Object-Oriented, and I can tell you I did not have
C++ in mind.
     -- Alan Kay

Attachment: pgpXlWF5Omxaa.pgp
Description: PGP signature

_______________________________________________
arch-haskell mailing list
arch-haskell@haskell.org
http://www.haskell.org/mailman/listinfo/arch-haskell

Reply via email to