bug-gmp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gmp 4.1


From: Kevin Ryde
Subject: Re: gmp 4.1
Date: Thu, 26 Sep 2002 08:12:30 +1000
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.1 (i386-debian-linux-gnu)

"Daniel R. Grayson" <address@hidden> writes:
>
> I have a problem with libtool not passing the -m64 option to gcc for the link
> step.  At least when I add that option to the gcc command line displayed by
> libtool, the command runs without error.  I don't have a work-around at the
> moment.  Libtool is opaque.

In the configure script, after the line

        gcc_64_cflags="-g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9"

you can add

        gcc_64_ldflags="-Wc,-m64"

Or if you want to avoid re-running ./configure then it should work to do

        make GMP_LDFLAGS=-Wc,-m64

Rumour has it the next libtool will be less aggressive about stripping
compiler options when linking.




reply via email to

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