avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] simulavr build snaggle


From: Erik Christiansen
Subject: Re: [avr-gcc-list] simulavr build snaggle
Date: Thu, 14 Aug 2003 14:57:58 +1000
User-agent: Mutt/1.3.28i

On Wed, Aug 13, 2003 at 09:52:56AM -0700, Theodore A. Roth wrote:
> > cp -r /usr/local/avr/lib/*    /usr/local/avr/lib/gcc-lib/avr/3.3
> > ...................
> 
> This should not be necessary. I suspect that either avr-libc or gcc
> were configured incorrectly, possibly both. Gcc should only be looking
> for libs that gcc provides in $(prefix)/avr/lib/gcc-lib.

   Thank you Ted. You've put the finger on it. Although I've tried to
   alway use what simulavr was built with:

   ./configure --prefix=/usr/local/avr/

   blowing away /usr/local/avr, doing "make distclean" on each tool,
   and rebuilding them all, now allows simulavr to build cleanly.
   
   After building only binutils, /usr/local/avr/{bin,lib} and
   /usr/local/avr/avr/{bin,lib} already exist, so my suspicion that I'd
   generated the avr/avr/ by mixing prefixes on different days was
   proved wrong.

> /home/roth/local/avr-20030807/avr/lib/crts8535.o

   And now my only occurrence of crts8535.o is analogous:

  /usr/local/avr/avr/lib/crts8535.o 

  It is good to have a clean toolchain. I'm much happier now. :-)

Regards,
Erik




reply via email to

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