Re: [Haskell] Building a dynamic loadable Parsec parser

2005-02-28 Thread Donald Bruce Stewart
adam.turoff: > Hi, > > I've got a little parser written using Parsec that I want to link into > some C code. I start by compiling the Haskell sources like so: > > ghc -ffi -fglasgow-exts -main-is My_Init -c parse.hs > > When linking parse.o and parse_stub.o against my (additional) glue co

[Haskell] Building a dynamic loadable Parsec parser

2005-02-28 Thread Adam Turoff
Hi, I've got a little parser written using Parsec that I want to link into some C code. I start by compiling the Haskell sources like so: ghc -ffi -fglasgow-exts -main-is My_Init -c parse.hs When linking parse.o and parse_stub.o against my (additional) glue code, I get the following err