[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-chat] Argh it happened again: compiler cannot create executable
From: |
Rick Mann |
Subject: |
Re: [avr-chat] Argh it happened again: compiler cannot create executables |
Date: |
Tue, 25 Apr 2006 13:37:03 -0700 |
On Apr 25, 2006, at 04:13 , Rolf Magnus wrote:
It seems that your compiler installation is broken or missing
something. Look
into gcc/config.log or wherever the error was. Btw: What exactly
was your
configure command line?
The error occurred during make. I don't really know where it was, but
here's the short make output below. The configure line was:
$ mkdir build
$ cd build
$ ../configure --prefix=/usr/local/avr --target=avr --enable-
languages=c,c++
And make was like this:
$ make CC="cc -no-cpp-precomp"
make[3]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
rm -f stamp-h1
/bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
test -f config.h || (rm -f stamp-h1 && make stamp-h1)
make[3]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
make \
CFLAGS="-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -
Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -
Wold-style-definition -Wmissing-format-attribute " \
CONFIG_H="config.h auto-host.h ../../gcc/../include/ansidecl.h" \
MAKEOVERRIDES= \
-f libgcc.mk all
make[3]: Nothing to be done for `all'.
echo timestamp > stmp-multilib
Checking multilib configuration...
multilib.out is unchanged
Configuring in avr/libssp
configure: loading cache ./config.cache
checking build system type... i386-apple-darwin8.6.1
checking host system type... avr-unknown-none
checking target system type... avr-unknown-none
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for avr-strip... avr-strip
checking for --enable-version-specific-runtime-libs... no
checking whether to enable maintainer-specific portions of
Makefiles... no
checking for avr-gcc... /Users/rmann/Projects/AVR/gcc/gcc-4.1.0/
build/./gcc/xgcc -B/Users/rmann/Projects/AVR/gcc/gcc-4.1.0/build/./
gcc/ -B/usr/local/avr/avr/bin/ -B/usr/local/avr/avr/lib/ -isystem /
usr/local/avr/avr/include -isystem /usr/local/avr/avr/sys-include
checking for C compiler default output file name... configure: error:
C compiler cannot create executables
See `config.log' for more details.
make[1]: *** [configure-target-libssp] Error 1
make: *** [all] Error 2