bug-gmp
[Top][All Lists]
Advanced

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

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


From: Vincent Lefevre
Subject: Error when compiling/installing GMP 4.1.1 with "ccache gcc"
Date: Tue, 3 Dec 2002 14:58:13 +0100
User-agent: Mutt/1.5.1i

Hi,

I tried to compile GMP 4.1.1 with CC="ccache gcc" but one of the
commands wasn't correctly generated:

ccache -shared  .libs/assert.o .libs/compat.o [...] scanf/.libs/vsscanf.o   
-Wl,-soname -Wl,libgmp.so.3 -o .libs/libgmp.so.3.3.1

The GMP makefile has incorrectly taken the first word of "$CC".

Moreover, ccache doesn't return a non-zero exit code because of
the valid arguments (this is equivalent to "ccache -s -h"). So,
the problem doesn't appear before doing "make install". I think
that the makefile should check that the library has really been
created.

-- 
Vincent Lefèvre <address@hidden> - Web: <http://www.vinc17.org/> - 100%
validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA




reply via email to

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