[darcs-users] ghci hints?
Andrew Pimlott
andrew at pimlott.net
Wed Oct 6 19:19:11 UTC 2004
On Wed, Oct 06, 2004 at 01:40:22PM -0500, Taral wrote:
> On Wed, Oct 06, 2004 at 02:11:55PM -0400, Andrew Pimlott wrote:
> > On Tue, Oct 05, 2004 at 10:50:39PM -0500, Taral wrote:
> > > You'll have to hack up the command line... ghci needs to run with
> > > /lib/libpthread.so.0 /usr/lib/libpthread_nonshared.a
> >
> > If I add those to the command line, I get
> >
> > Warning: ignoring unrecognised input `/lib/libpthread.so.0'
> > Warning: ignoring unrecognised input `/usr/lib/libpthread_nonshared.a'
>
> Here. Remove zlib_helper.o, -optl-lpthread, and -optl-lz from the ghci
> command line. That should at least get it to work.
Oh, and: If I replace /lib/libpthread.so.0 (which is a symlink) with
/lib/libpthread-0.10.so (to which it points), I get rid of the first
"unrecognized input", and get an error about _errno. But I just
remembered that there is a fundamental problem with
/usr/lib/libpthread_nonshared.a: ghci doesn't support linking to static
archives at all. (I guess I could try breaking the objects out of the
.a file, but I'm ready to give up.)
Andrew
More information about the darcs-users
mailing list