Software
Hi, I've the Bittle (not X) constructed and working ... and the UI working so I could do the calibration and everything seems to work ... but:
On Linux (openSUSE 15.5), I've installed Arduino IDE v1.8.6 and gcc 7.7.5 and downloaded (cloned) the OpenCat github repo ... and the test on OpenCat.ino fails. All the components build but the linker fails: /usr/lib64/gcc/avr/7/ld: cannot find -lgcc: No such file or directory
I've noted on the internet that some versions of gcc are looking for specific file names, and they need to be created (using symlinks) if missing.
Di I need a different gcc (or symlink it somewhere)?
What environment (in Linux - I don't have any windows boxes) is the best to do this dev in? Ubuntu?
Can anyone advise?
Some more info:
# ls -lh /usr/lib64/gcc/avr/7
total 39M
lrwxrwxrwx 1 root root 22 Feb 7 14:26 as -> ../../../../avr/bin/as
-rwxr-xr-x 1 root root 13M Feb 7 14:26 cc1
-rwxr-xr-x 1 root root 14M Feb 7 14:26 cc1plus
-rwxr-xr-x 1 root root 556K Feb 7 14:26 collect2
drwxr-xr-x 1 root root 8.4K Apr 26 22:04 device-specs
drwxr-xr-x 1 root root 246 Apr 26 22:04 include
drwxr-xr-x 1 root root 50 Apr 26 22:04 include-fixed
lrwxrwxrwx 1 root root 22 Feb 7 14:26 ld -> ../../../../avr/bin/ld
lrwxrwxrwx 1 root root 22 Feb 7 14:25 liblto_plugin.so -> liblto_plugin.so.0.0.0
lrwxrwxrwx 1 root root 22 Feb 7 14:25 liblto_plugin.so.0 -> liblto_plugin.so.0.0.0
-rwxr-xr-x 1 root root 75K Feb 7 14:26 liblto_plugin.so.0.0.0
-rwxr-xr-x 1 root root 12M Feb 7 14:26 lto1
-rwxr-xr-x 1 root root 828K Feb 7 14:26 lto-wrapper
# ls -lh /usr/avr/bin
total 44K
lrwxrwxrwx 1 root root 16 Sep 11 2023 ar -> ../../bin/avr-ar
lrwxrwxrwx 1 root root 16 Sep 11 2023 as -> ../../bin/avr-as
lrwxrwxrwx 1 root root 16 Sep 11 2023 ld -> ../../bin/avr-ld
lrwxrwxrwx 1 root root 20 Sep 11 2023 ld.bfd -> ../../bin/avr-ld.bfd
lrwxrwxrwx 1 root root 21 Sep 11 2023 nesc-as -> ../../bin/avr-nesc-as
lrwxrwxrwx 1 root root 16 Sep 11 2023 nm -> ../../bin/avr-nm
lrwxrwxrwx 1 root root 21 Sep 11 2023 objcopy -> ../../bin/avr-objcopy
lrwxrwxrwx 1 root root 21 Sep 11 2023 objdump -> ../../bin/avr-objdump
lrwxrwxrwx 1 root root 20 Sep 11 2023 ranlib -> ../../bin/avr-ranlib
lrwxrwxrwx 1 root root 21 Sep 11 2023 readelf -> ../../bin/avr-readelf
lrwxrwxrwx 1 root root 19 Sep 11 2023 strip -> ../../bin/avr-strip
# find / -xdev -name 'libgcc*'
/usr/lib64/libreoffice/program/libgcc3_uno.so
/usr/lib64/gcc/x86_64-suse-linux/7/libgcc.a
/usr/lib64/gcc/x86_64-suse-linux/7/libgcc_eh.a
/usr/lib64/gcc/x86_64-suse-linux/7/libgcc_s.so
/usr/lib64/libgccpp.so.1
/usr/lib64/libgccpp.so.1.3.1
/lib64/libgcc_s.so.1
# ls -lh /usr/lib64/libgccpp* /lib64/libgcc*
-rwxr-xr-x 1 root root 91K Feb 7 14:06 /lib64/libgcc_s.so.1
lrwxrwxrwx 1 root root 17 May 25 2018 /usr/lib64/libgccpp.so.1 -> libgccpp.so.1.3.1
-rwxr-xr-x 1 root root 6.1K May 25 2018 /usr/lib64/libgccpp.so.1.3.1
Like