|
Readline on Windows?: msg#00029lang.haskell.glasgow.bugs
Hi, Compiling the following program (Bug.hs): >>> module Main where import System.Console.Readline main = do ms <- readline "Hi> " print ms <<< Using GHC 6.2.2 on Windows XP, using the command line: ghc --make Bug -o bug Produces the following message: >>> Chasing modules from: Bug Compiling Main ( Bug.hs, Bug.o ) Linking ... c:/ghc/ghc-6.2.2/libHSreadline.a(Readline__96.o)(.text+0xaa):ghc11748.hc: undefined reference to `readline' <<< Tried linking by hand (not using --make), specifying -package readline, specifying -lreadline; nothing worked. /Koen
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Another finalizer question, Benjamin Franksen |
|---|---|
| Next by Date: | Derivable type classes bug?, Koen Claessen |
| Previous by Thread: | Another finalizer question, Benjamin Franksen |
| Next by Thread: | RE: Readline on Windows?, Simon Marlow |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |