Joined: 22 Aug 2006
|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:
make: Leaving directory `/home/collin/non-portage-installs/simavr/simavr'
make -C tests
make: Entering directory `/home/collin/non-portage-installs/simavr/tests'
/usr/libexec/gcc/avr/ld: cannot find crtm48.o: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [atmega48_disabled_timer.axf] Error 1
make: 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
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.
Edit - I just cleaned and rebuilt avr tools with crossdev and everything just worked.