Error when make ...

one at one at
Sun Apr 22 21:39:10 CEST 2012

Platform Mac mini ... OSX 10.6.6 ...

I need gcc ( C compiler ) ... for AVR (AVRdude) ...I use tutorial: ...
(All ready install binutils-2.22)

I use:
gcc-4.7.0 from 
and I add :
mpfr-3.1.0 as folder "mpfr" inside folder gcc-4.7.0.
mpc-0.9 as folder "mpc" inside  folder gcc-4.7.0.
gmp-5.0.4 as folder "gmp" inside  folder gcc-4.7.0.

command from inside directory avrgcc-4.7 :
../gcc-4.7.0/configure --target=avr --enable-languages=c --disable-libssp

for detail see configure.log

next command:
make CC="cc --no-cpp-precomp"

partial listing (end):
mkdir ./gmp
Configuring in ./gmp
configure: creating cache ./config.cache
checking build system type... x86_64-apple-darwin10.6.0
checking host system type... none-apple-darwin10.6.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for none-apple-darwin10.6.0-strip... no
checking for strip... strip
configure: WARNING: using cross tools not prefixed with host triplet
checking for a thread-safe mkdir -p... ../../gcc-4.7.0/gmp/install-sh -c -d
checking for gawk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking ABI=long
checking compiler gcc -g -O2 -DNO_ASM... yes
checking for none-apple-darwin10.6.0-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking build system compiler cc --no-cpp-precomp... rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
configure: error: Specified CC_FOR_BUILD doesn't seem to work
make[1]: *** [configure-gmp] Error 1
make: *** [all] Error 2

for detail see all message from terminal: make_CC.log

Please take look.




More information about the gmp-bugs mailing list