avr-chat
[Top][All Lists]
Advanced

[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: Sat, 29 Apr 2006 21:18:25 -0700


On Apr 29, 2006, at 14:49 , Joerg Wunsch wrote:

Please do just that.

Unfortunately, I can't even figure out which config.log it is. Actually, after poking, I did figure it out:

I guess this is the portion of the file that has the problem:

configure:2274: $? = 0
configure:2276: /Users/rmann/Projects/AVR/gcc/full/avr/./gcc/xgcc - B/Users/rmann/Projects/AVR/gcc/full/avr/./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 -v </dev/null >&5
Reading specs from /Users/rmann/Projects/AVR/gcc/full/avr/./gcc/specs
Target: avr
Configured with: ../gcc-4.1.0/configure --target=avr --prefix=/usr/ local/avr --enable-languages=c,c++
Thread model: single
gcc version 4.1.0
configure:2279: $? = 0
configure:2281: /Users/rmann/Projects/AVR/gcc/full/avr/./gcc/xgcc - B/Users/rmann/Projects/AVR/gcc/full/avr/./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 -V </dev/null >&5
xgcc: '-V' must come at the start of the command line
configure:2284: $? = 1
configure:2307: checking for C compiler default output file name
configure:2310: /Users/rmann/Projects/AVR/gcc/full/avr/./gcc/xgcc - B/Users/rmann/Projects/AVR/gcc/full/avr/./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 -O2 -g -O2 conftest.c >&5 /usr/local/avr/avr/bin/ld: crts8515.o: No such file: No such file or directory
configure:2313: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "libssp"
| #define PACKAGE_TARNAME "libssp"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "libssp 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libssp"
| #define VERSION "1.0"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2352: error: C compiler cannot create executables
See `config.log' for more details.



It can't find a .o file:

/usr/local/avr/avr/bin/ld: crts8515.o: No such file: No such file or directory

I can't figure out from config.log why it wants that particular runtime library, but since I'm trying to build avr-gcc, I certainly don't have those libraries already built.

Any idea why the compiler is trying to link against crts8515.o?

BTW, I've tried this build on a PowerPC PowerBook, and on an Intel Red Hat Linux box. In all cases, I get the same error.

Thanks!



--
Rick






reply via email to

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