bug-gmp
[Top][All Lists]
Advanced

[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 05:56:38 +1000
User-agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.5

Ed Thomas <address@hidden> writes:
>
> libra$ gcc -Wa,-xarch=v8plus -mcpu=v9 -o go -L. -lgmp go.c
> Undefined                       first referenced
>  symbol                             in file
> __gmpz_init_set_str                 /var/tmp/ccP1aqQo1.o
> ...

I think you need to use -L.libs, since libtool puts the uninstalled
libgmp.a in that subdirectory.  (Cf. the example in the INSTALL file.)

>   2) I change `define(<GSYM_PREFIX>, <>)' to `define(<GSYM_PREFIX>, <_>)'
>      in config.m4

You shouldn't need to fiddle with GSYM_PREFIX, empty should be correct
on SunOS 5.

> gmp.info-1 suggests I compile with gcc -mv8plus, but gcc says that's
> an invalid option.

Thanks, we'll amend the manual to note it needs a new enough gcc.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]