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 22:49:55 -0700


On Apr 29, 2006, at 22:40 , Dave Hylands wrote:

Hi Rick,

Whoops - posting to the list this time.

> 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

It looks like your PATH is messed up. It seems to be finding the avr
version of the compiler and trying to use that to build the avr
compiler rather than using the native gcc compiler.

Remove the path to the avr compiler from your PATH.


I don't believe that's the case. Although my PATH did contain /usr/ local/avr/bin, which will be necessary to access the binutils later in the build process, I removed that and tried again. I get the exact same error.

According to the above, the call to the compiler is using an absolute path to a copy of xgcc inside the build directory; it's not a case of it picking up a compiler from my PATH.


--
Rick






reply via email to

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