|
| <prev next> |
RE: ghci failed to load static archive: msg#00064lang.haskell.glasgow.bugs
> I'm sure this is pilot error, but I'm reporting it like the message > says. I was trying to figure out how to get the fudgets library > loaded into ghci. (I still haven't succeeded, in case you have any > tips. Fudgets programs work fine when compiled with ghcxmake.) > > % ghci -fglasgow-exts > /home/pimlott/local/fudgets/lib/GhcFudgets/libFudgets* > ___ ___ _ > / _ \ /\ /\/ __(_) > / /_\// /_/ / / | | GHC Interactive, version > 6.0.1, for Haskell 98. > / /_\\/ __ / /___| | http://www.haskell.org/ghc/ > \____/\/ /_/\____/|_| Type :? for help. > > Loading package base ... linking ... done. > Loading object (static) > /home/pimlott/local/fudgets/lib/GhcFudgets/libFudgetsXlib.a > ... > /home/pimlott/local/fudgets/lib/GhcFudgets/libFudgetsXlib.a: > not an ELF object > ghc-6.0.1: panic! (the `impossible' happened, GHC version 6.0.1): > loadObj: failed GHCi can't load .a libraries. The documentation (sec. 4.10.3) explains how to turn a .a library into a .o that GHCi can load: http://www.haskell.org/ghc/docs/latest/html/users_guide/packages.html#BUILDING-PACKAGES Cheers, Simon
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | ghci failed to load static archive, Andrew Pimlott |
|---|---|
| Previous by Thread: | ghci failed to load static archive, Andrew Pimlott |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |