Re: how to compile non-dynamic ghc-7.8.2 ?

2014-04-30 Thread harry
John Lato-2 wrote I'd like to compile ghc-7.8.2 with DynamicGhcPrograms disabled Are you able to use template haskell (and qusiquoting) with this? Don't they need dynamic libs? -- View this message in context:

Re: how to compile non-dynamic ghc-7.8.2 ?

2014-04-29 Thread Simon Marlow
On 25/04/2014 02:15, John Lato wrote: Hello, I'd like to compile ghc-7.8.2 with DynamicGhcPrograms disabled (on 64-bit linux). I downloaded the source tarball, added DYNAMIC_GHC_PROGRAMS = NO to mk/build.mk http://build.mk, and did ./configure ./make. ghc builds and everything seems to

Re: how to compile non-dynamic ghc-7.8.2 ?

2014-04-29 Thread Jason Dagit
On Tue, Apr 29, 2014 at 10:36 AM, Simon Marlow marlo...@gmail.com wrote: On 25/04/2014 02:15, John Lato wrote: Hello, I'd like to compile ghc-7.8.2 with DynamicGhcPrograms disabled (on 64-bit linux). I downloaded the source tarball, added DYNAMIC_GHC_PROGRAMS = NO to mk/build.mk

Re: how to compile non-dynamic ghc-7.8.2 ?

2014-04-29 Thread John Lato
Hi Simon, Thanks very much for this response. I believe you're correct; ghc -e 'System.Environment.getEnvironment' segfaults with my ghc build. John On Tue, Apr 29, 2014 at 10:36 AM, Simon Marlow marlo...@gmail.com wrote: On 25/04/2014 02:15, John Lato wrote: Hello, I'd like to compile

Re: how to compile non-dynamic ghc-7.8.2 ?

2014-04-27 Thread harry
John Lato-2 wrote I'd like to compile ghc-7.8.2 with DynamicGhcPrograms disabled Are you able to use template haskell (and qusiquoting) with this? Don't they need dynamic libs? -- View this message in context:

Re: how to compile non-dynamic ghc-7.8.2 ?

2014-04-27 Thread John Lato
Hi Carter, cabal-install-1.20.0.0, using Cabal 1.20.0.0. But this also happened IIRC with just ghc, no libraries installed, and no cabal anywhere on the path. In any case, thus far the worst behavior I've seen from a too-old cabal is a compile failure, not a core dump :) On Fri, Apr 25, 2014

Re: how to compile non-dynamic ghc-7.8.2 ?

2014-04-25 Thread Bertram Felgenhauer
John Lato wrote: I'd like to compile ghc-7.8.2 with DynamicGhcPrograms disabled (on 64-bit linux). I downloaded the source tarball, added DYNAMIC_GHC_PROGRAMS = NO I've had success with setting both DYNAMIC_BY_DEFAULT = NO DYNAMIC_GHC_PROGRAMS = NO and removing the 'dyn' way altogether

Re: how to compile non-dynamic ghc-7.8.2 ?

2014-04-25 Thread John Lato
On Apr 25, 2014 5:36 AM, Bertram Felgenhauer bertram.felgenha...@googlemail.com wrote: John Lato wrote: I'd like to compile ghc-7.8.2 with DynamicGhcPrograms disabled (on 64-bit linux). I downloaded the source tarball, added DYNAMIC_GHC_PROGRAMS = NO I've had success with setting

Re: how to compile non-dynamic ghc-7.8.2 ?

2014-04-25 Thread Carter Schonwald
@john, what version of cabal-install were you using? (i realize you're probably using the right one, but worth asking :) ) On Fri, Apr 25, 2014 at 12:25 PM, John Lato jwl...@gmail.com wrote: On Apr 25, 2014 5:36 AM, Bertram Felgenhauer bertram.felgenha...@googlemail.com wrote: John Lato

how to compile non-dynamic ghc-7.8.2 ?

2014-04-24 Thread John Lato
Hello, I'd like to compile ghc-7.8.2 with DynamicGhcPrograms disabled (on 64-bit linux). I downloaded the source tarball, added DYNAMIC_GHC_PROGRAMS = NO to mk/build.mk, and did ./configure ./make. ghc builds and everything seems to work (cabal installed a bunch of packages, ghci seems to