[opensuse] Correct setup for avr-gcc/avr-libc
Hello everyone! Since a couple of weeks my avr-toolchain installation is broken. It started with an update that resulted in a file-conflict between avr-insight and avr-libc. I choose avr-libc as I couldn't remember having ever had installed insighed. Now avr-gcc/avr-ld complains about the object-file for the microcontroller: /opt/cross/lib/gcc/avr/5.4.0/../../../../avr/bin/ld: cannot find crtatmega32u2.o I have installed several versions of cross-avr-gcc from this repo: CrossToolchain:avr I have also tried to install everything from source with no success. Actually the file does exist here: /usr/avr/sys-root/lib/avr35. And even when I force link it, I get the same error message. Can anyone point me how to solve this issue? Many thanks in advance! Simon -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Some more information about my system: Opensuse 42.3 (kernel, mesa, plasma all standard) avr-libc 2.0.18 from CrossToolchain:avr cross-avr-gcc 5.4, 6.4 and 7.2 from CrossToolchain:avr avr-binutils 2.29 from CrossToolchain:avr Any help is very appreciated! Simon Am 28.12.2017 um 00:52 schrieb Simon Heimbach:
Hello everyone!
Since a couple of weeks my avr-toolchain installation is broken. It started with an update that resulted in a file-conflict between avr-insight and avr-libc. I choose avr-libc as I couldn't remember having ever had installed insighed.
Now avr-gcc/avr-ld complains about the object-file for the microcontroller: /opt/cross/lib/gcc/avr/5.4.0/../../../../avr/bin/ld: cannot find crtatmega32u2.o
I have installed several versions of cross-avr-gcc from this repo: CrossToolchain:avr I have also tried to install everything from source with no success.
Actually the file does exist here: /usr/avr/sys-root/lib/avr35. And even when I force link it, I get the same error message.
Can anyone point me how to solve this issue?
Many thanks in advance! Simon
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Okay, this is a rather dirty hack, but it works. I created a script called "avr-gcc" inside my ~/bin folder and pointed the compiler to my arduino-installation: ~/bin/arduino-1.8.4/hardware/tools/avr/bin/avr-gcc "$@" Am 28.12.2017 um 14:26 schrieb Simon Heimbach:
Some more information about my system:
Opensuse 42.3 (kernel, mesa, plasma all standard) avr-libc 2.0.18 from CrossToolchain:avr cross-avr-gcc 5.4, 6.4 and 7.2 from CrossToolchain:avr avr-binutils 2.29 from CrossToolchain:avr
Any help is very appreciated!
Simon
Am 28.12.2017 um 00:52 schrieb Simon Heimbach:
Hello everyone!
Since a couple of weeks my avr-toolchain installation is broken. It started with an update that resulted in a file-conflict between avr-insight and avr-libc. I choose avr-libc as I couldn't remember having ever had installed insighed.
Now avr-gcc/avr-ld complains about the object-file for the microcontroller: /opt/cross/lib/gcc/avr/5.4.0/../../../../avr/bin/ld: cannot find crtatmega32u2.o
I have installed several versions of cross-avr-gcc from this repo: CrossToolchain:avr I have also tried to install everything from source with no success.
Actually the file does exist here: /usr/avr/sys-root/lib/avr35. And even when I force link it, I get the same error message.
Can anyone point me how to solve this issue?
Many thanks in advance! Simon
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (1)
-
Simon Heimbach