bug-gmp
[Top][All Lists]
Advanced

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

Re: Error when compiling/installing GMP 4.1.1 with "ccache gcc"


From: Kevin Ryde
Subject: Re: Error when compiling/installing GMP 4.1.1 with "ccache gcc"
Date: Wed, 04 Dec 2002 09:25:12 +1000
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.1 (i386-debian-linux-gnu)

Vincent Lefevre <address@hidden> writes:
>
> # Allow CC to be a program name with arguments.
> set dummy $CC
> compiler="$2"

No, I believe that particular bit is only for getting the compiler
basename to choose the config, and for some error messages.

But yes, what you see does happen, it looks like it's libtool's
over-zealous stripping of compiler options when it links.  You'll be
best off making a little script "ccache-gcc" which runs the right
thing and can be a one word $CC.

I don't think we can fix this easily, newer libtool is rumoured to
leave most options alone and should be better.  I'll note it as a
known build problem for now.




reply via email to

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