Hi,
I downloaded gcc-arm-11.2-2022.02-x86_64-arm-none-eabi.tar.xz from https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/downloads.
Unpacked the tar into my home folder. When I then run
```
p@bp-legion:~/Downloads/gcc-arm-11.2-2022.02-x86_64-arm-none-eabi/bin$ ./arm-none-eabi-gdb --version./arm-none-eabi-gdb: error while loading shared libraries: libpython3.6m.so.1.0: cannot open shared object file: No such file or directory
I got this AFTER being forced to `ln`
- /usr/lib/x86_64-linux-gnu/libncursesw.so.6
- /usr/lib/x86_64-linux-gnu/libtinfo.so.6
I didn't graduate on linux, did I miss "the easy way" to get the arm toolchain working on my ubuntu installation?
I can't imagine that I am the first to install the arm toolchain on a fresh installed ubuntu 22.04 environment......
Further, I don't know if this is needed or not, but you might wanna make that python3.6 build your temporary "system" python. Not sure the best way to do this - I would normally just symlink /usr/bin/python, to the python I want, like /usr/local/bin/python3.6 (and revert it after I'm done)Under windows, if you install gcc-arm-11.2-2022.02-mingw-w64-i686-arm-none-eabi.exe, the install is missing the gccvar.bat file (and Python 2.7 dependency?!?!?)You can get the file from here: https://github.com/metalcode-eu/windows-arm-none-eabi/blob/410f43590f1edd7392fe02442ff51a7e433b36ae/bin/gccvar.batAnd manually add in the python env like this:
set PYTHONHOME=c:\Python27
set PYTHONPATH=c:\Python27\Lib
set PATH=%PYTHONHOME%;%PATH%
I don't think there is an equivalent gccvar.bat for the Linux install, nor if the PYTHONHOME / PYTHONPATH work under Linux - but that might be something to explore if needed.
Also why does the windows build of gcc-arm-11.2-2022 need Python 2.7, and the Linux one need Python 3.6?
Also why is the bat file missing in the windows install?
Also why does gdb need python, but the rest of the toolchain seems fine?
jeeesh... the hoops we have to jump through.