[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: solaris link problem
From: |
Kevin Ryde |
Subject: |
Re: solaris link problem |
Date: |
21 Dec 2000 08:03:07 +1000 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) Emacs/20.5 |
Ed Thomas <address@hidden> writes:
>
> No, I copied libgmp.a from gmp-3.1.1/.libs into the same directory as go.c
> before compiling. That's why I said -L.
Hmm, strange. It must get libgmp (.a or maybe .so) from somewhere if
it doesn't hit the newly built one. You'll have to do some scrounging
around. You could also check with nm that libgmp.a really does have
those symbols, in case something's gone badly wrong.
If nothing else it should work to name the .a on the command line,
eg. "gcc go.c libgmp.a", though that might end up dragging the whole
library contents into the executable.