[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] simulavr build snaggle
From: |
Terry Porter |
Subject: |
Re: [avr-gcc-list] simulavr build snaggle |
Date: |
Wed, 13 Aug 2003 16:07:29 +1000 |
On Wed, 13 Aug 2003 14:15:30 +1000
Erik Christiansen <address@hidden> wrote:
> On Debian 3.0, using simulavr version dated 2003-07-02 in ChangeLog,
> build attempts are held up after:
>
> $ bootstrap
> $ ./configure
> $ make
>
> ...
>
> Making all in test_c
> /usr/local/src/avr/simulavr/test_c
> make[1]: Entering directory `/usr/local/src/avr/simulavr/test_c'
> avr-gcc -g -Wall -mmcu=at90s8515 -o demo demo.o
> /usr/local/avr/lib/gcc-lib/avr/3.3/../../../../avr/bin/ld: cannot
> open crts8515.o: No such file or directory
> make[1]: *** [demo] Error 1
> make[1]: Leaving directory `/usr/local/src/avr/simulavr/test_c'
> make: *** [all-recursive] Error 1
>
>
> Tried: export LD_RUN_PATH=$LD_RUN_PATH:/usr/local/avr/lib
> Effect: None. (Yep, confirmed that that's where crts8515.o lives.)
>
> Looking at target "demo" in test_c/Makefile:
>
> demo: $(demo_OBJECTS) $(demo_DEPENDENCIES)
> @rm -f demo
> $(LINK) $(demo_LDFLAGS) $(demo_OBJECTS) $(demo_LDADD) $(LIBS)
>
> I become lost when trying to track back to where crts8515.o is drawn
> in, so it's hard to figure what to try next.
>
> Soooo, I'm kinda hoping a kind soul has a good suggestion.
I have a workaround :-
.........
Copy the libs that avr-libc-20030512cvs installed to where Avr-Gcc really
wants them
This was where I hit my first snag, because after compiling my test program,
when it came to linking, the linker barfed because it couldn't find a crts*.o
file. It seems that the libraries installed by avr-libc-20030512cvs are in the
wrong place, or gcc-avr is looking for them in the wrong place, so :
cp -r /usr/local/avr/lib/* /usr/local/avr/lib/gcc-lib/avr/3.3
...................
--
Kind Regards
Terry
* See my Gnu/Linux EDA webpage at : http://milkstone.d2.net.au/
* Free Software provided by GNU;
http://www.gnu.org/philosophy/free-software-for-freedom.html
- Re: [avr-gcc-list] Homebrew ICE?, (continued)
- Re: [avr-gcc-list] Homebrew ICE?, Derick Schoonbee, 2003/08/12
- Re: [avr-gcc-list] Homebrew ICE?, Derick Schoonbee, 2003/08/12
- Re: [avr-gcc-list] Homebrew ICE?, Derick Schoonbee, 2003/08/12
- Re: [avr-gcc-list] Homebrew ICE?, Neil Johnson, 2003/08/12
- Re: [avr-gcc-list] Homebrew ICE?, Erik Christiansen, 2003/08/12
- [avr-gcc-list] simulavr build snaggle, Erik Christiansen, 2003/08/13
- Re: [avr-gcc-list] simulavr build snaggle,
Terry Porter <=
- Re: [avr-gcc-list] simulavr build snaggle, Erik Christiansen, 2003/08/13
- Message not available
- Message not available
- [avr-gcc-list] Yet another Avr-gcc_Simulavr_Avr-Gdb_DDD-howto, Was: Re: avr-libc install problem, Terry Porter, 2003/08/15
- [avr-gcc-list] Re: Yet another Avr-gcc_Simulavr_Avr-Gdb_DDD-howto, Was: Re: avr-libc install problem, Erik Christiansen, 2003/08/15
- Re: [avr-gcc-list] Re: Yet another Avr-gcc_Simulavr_Avr-Gdb_DDD-howto, Was: Re: avr-libc install problem, Theodore A. Roth, 2003/08/15
- Re: [avr-gcc-list] Re: Yet another Avr-gcc_Simulavr_Avr-Gdb_DDD-howto, Was: Re: avr-libc install problem, Russell Shaw, 2003/08/16
- Re: [avr-gcc-list] Re: Yet another Avr-gcc_Simulavr_Avr-Gdb_DDD-howto, Was: Re: avr-libc install problem, Erik Christiansen, 2003/08/18
- Re: [avr-gcc-list] Re: Yet another Avr-gcc_Simulavr_Avr-Gdb_DDD-howto, Was: Re: avr-libc install problem, Theodore A. Roth, 2003/08/18
- Re: [avr-gcc-list] Re: Yet another Avr-gcc_Simulavr_Avr-Gdb_DDD-howto, Was: Re: avr-libc install problem, Erik Christiansen, 2003/08/19
- Re: [avr-gcc-list] Re: Yet another Avr-gcc_Simulavr_Avr-Gdb_DDD-howto, Was: Re: avr-libc install problem, Terry Porter, 2003/08/19
- Re: [avr-gcc-list] Re: Yet another Avr-gcc_Simulavr_Avr-Gdb_DDD-howto, Was: Re: avr-libc install problem, Erik Christiansen, 2003/08/19