[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: |
Thu, 14 Aug 2003 08:48:28 +1000 |
On Wed, 13 Aug 2003 09:46:42 -0700 (PDT)
"Theodore A. Roth" <address@hidden> wrote:
>
>
> On Wed, 13 Aug 2003, Erik Christiansen 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
>
> This error usually indicates that either gcc or avr-libc were not
> configured properly. They must be configured with the same --prefix
> option.
I thought so to ... at first. Here is my avr-gcc with the -v switch (via the
makefile):
address@hidden:~/projects/avr-test/avr-samples$ make
avr-gcc -v -g -mmcu=atmega8 -o js1.elf -Wl,-Map,js1.map js1.o
Reading specs from /usr/local/avr/lib/gcc-lib/avr/3.3/specs
Configured with: ./configure --target=avr --prefix=/usr/local/avr --disable-nls
--enable-languages=c
Thread model: single
gcc version 3.3
/usr/local/avr/lib/gcc-lib/avr/3.3/../../../../avr/bin/ld -m avr4 -o js1.elf
/usr/local/avr/lib/gcc-lib/avr/3.3/avr4/crtm8.o
-L/usr/local/avr/lib/gcc-lib/avr/3.3/avr4 -L/usr/local/avr/lib/gcc-lib/avr/3.3
-L/usr/local/avr/lib/gcc-lib/avr/3.3/../../../../avr/lib -Map js1.map js1.o
-lgcc -lc -lgcc
avr-objcopy -j .text -O ihex js1.elf js1.hex
avr-objdump -S js1.elf > js1.listing
>
> >
> >
> > 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.
>
> Try giving gcc the -v option to see where it is looking for the files.
>
> Ted Roth
>
> _______________________________________________
> avr-gcc-list mailing list
> address@hidden
> http://www.avr1.org/mailman/listinfo/avr-gcc-list
>
--
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] Re: Yet another Avr-gcc_Simulavr_Avr-Gdb_DDD-howto, Was: Re: avr-libc install problem, (continued)
- 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
- 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/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/20
- Re: [avr-gcc-list] simulavr build snaggle, Theodore A. Roth, 2003/08/13
- Re: [avr-gcc-list] simulavr build snaggle, Terry Porter, 2003/08/13
- Re: [avr-gcc-list] simulavr build snaggle, Theodore A. Roth, 2003/08/13
- Re: [avr-gcc-list] simulavr build snaggle, Erik Christiansen, 2003/08/14
- Re: [avr-gcc-list] simulavr build snaggle, Theodore A. Roth, 2003/08/13
- Re: [avr-gcc-list] simulavr build snaggle,
Terry Porter <=
- Re: [avr-gcc-list] simulavr build snaggle, Theodore A. Roth, 2003/08/13
Re: [avr-gcc-list] Homebrew ICE?, Derick Schoonbee, 2003/08/13
Re: [avr-gcc-list] Homebrew ICE?, Derick Schoonbee, 2003/08/13