tenspd137 Guru
Joined: 22 Aug 2006 Posts: 391
|
Posted: Fri Nov 30, 2012 1:30 am Post subject: Simavr anyone? [solved] |
|
|
Has anyone gotten simavr to compile the whole way through? I keep getting:
Code: |
make[1]: Leaving directory `/home/collin/non-portage-installs/simavr/simavr'
make -C tests
make[1]: Entering directory `/home/collin/non-portage-installs/simavr/tests'
AVR-CC atmega48_disabled_timer.c
/usr/libexec/gcc/avr/ld: cannot find crtm48.o: No such file or directory
collect2: error: ld returned 1 exit status
make[1]: *** [atmega48_disabled_timer.axf] Error 1
make[1]: Leaving directory `/home/collin/non-portage-installs/simavr/tests'
make: *** [build-tests] Error 2
simavr to build the whole way through? I keep getting:
|
but crtm48.o is here:
└┌(%:/usr/libexec/gcc/avr)┌- locate crtm48.o
/usr/avr/lib/avr4/crtm48.o
Does anyone know how to make it see this? I habe tried add -L/usr/avr/lib/avr4 to both LDFLAGS and LFLAGS with no luck.
Thanks!
Edit - I just cleaned and rebuilt avr tools with crossdev and everything just worked. |
|