On 22 December 2010 16:47, Antoine Latter <[email protected]> wrote:
> ghc doesn't, by default, go searching for packages to link in to the > resulatant executable.. > > If you try 'ghc --make scheme.hs' your example will work better. Are great, thanks a lot. > You can also specify what to link manually, but --make works pretty > well most of the time. > > In ghc version 7 '--make' is the default, but until that's more widely > distributed you'll want to get used to using the switch. > Yes it was linking before I upgraded GHC, hence my confusion :) Many thanks Antoine, Aaron > > Take care, > Antoine > > On Wed, Dec 22, 2010 at 10:36 AM, Aaron Gray <[email protected]> > wrote: > > On 22 December 2010 16:27, Antoine Latter <[email protected]> wrote: > >> > >> What commands did you enter to produce this error? > >> > > > > ghc scheme.hs > > Aaron > > > >> > >> Ahanks, > >> Antoine > >> > >> On Wed, Dec 22, 2010 at 9:54 AM, Aaron Gray <[email protected] > > > >> wrote: > >> > Missing Parsec library :- > >> > scheme.o(.text+0x4fa):fake: undefined reference to > >> > > >> > > `parseczm2zi1zi0zi0_TextziParserCombinatorsziParsecziCombinator_skipMany1_closure' > >> > scheme.o(.text+0x501):fake: undefined reference to > >> > > `parseczm2zi1zi0zi0_TextziPaserCombinatorsziParsecziChar_space_closure' > >> > scheme.o(.text+0x5c2):fake: undefined reference to > >> > > `parseczm2zi1zi0zi0_TextziParserCombinatorsziParsecziChar_oneOf_closure' > >> > scheme.o(.text+0x63a):fake: undefined reference to > >> > `mtlzm1zi1zi0zi0_ControlziMonadziTrans_zdf1_closure' > >> > GHC from :- > >> > http://www.haskell.org/ghc/dist/stable/dist/ > >> > ghc-7.0.1.20101221-i386-windows.exe > >> > and earlier. > >> > Aaron > >> > > >> > _______________________________________________ > >> > Haskell-Cafe mailing list > >> > [email protected] > >> > http://www.haskell.org/mailman/listinfo/haskell-cafe > >> > > >> > > > > > >
_______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
