This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC build issues - struggling


On 29 December 2010 11:11, Dan Track wrote:
>
> --with-gmp="/opt/gcc"
> --with-gmp-include="/opt/gcc/include"
...
> -L/opt/gcc/lib -lmpc -lmpfr -lgmp -rdynamic -ldl ?-lz
>
> /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld:
> cannot find -lgmp
...
> I have gmp installed in
> /app/gcc/usr/lib.

Use the right --with-gmp option.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]