Tool/software: TI C/C++ Compiler
I have been using the 4.1 version of gcc for a while and just attempted to install the latest 6.1 version but some of the file permissions are wrong. I installed the package in /usr/ti/gcc as before.
msp430-gcc-full-linux-x64-installer-6.1.0.0.run
When running gcc it says it can't find cc1. The reason turning out to be that it is hiding:
ls /usr/ti/gcc/libexec/gcc/msp430-elf/ -l
total 12
drwxr-xr-x. 4 root root 4096 Aug 30 2016 5.3.0
drwxr-xr-x. 4 root root 4096 Apr 16 14:15 7.3.1
drwx------. 4 root root 4096 Apr 16 14:15 7.3.2
That is easily fixed but results in many more permission denied errors:
/usr/ti/gcc/bin/msp430-elf-gcc -mmcu=msp430fr5972 -Wall -g -O2 -I /usr/ti/gcc/include -c -o main.o main.c
cc1: error: /usr/ti/gcc/bin/../lib/gcc/msp430-elf/7.3.2/include: Permission denied
cc1: error: /usr/ti/gcc/bin/../lib/gcc/msp430-elf/7.3.2/include-fixed: Permission denied
cc1: error: /usr/ti/gcc/bin/../lib/gcc/msp430-elf/7.3.2/../../../../msp430-elf/sys-include: Permission denied
cc1: error: /usr/ti/gcc/bin/../lib/gcc/msp430-elf/7.3.2/../../../../msp430-elf/include: Permission denied
cc1: error: /usr/ti/gcc/bin/../lib/gcc/../../lib/gcc/msp430-elf/7.3.2/include: Permission denied
cc1: error: /usr/ti/gcc/bin/../lib/gcc/../../lib/gcc/msp430-elf/7.3.2/include-fixed: Permission denied
cc1: error: /usr/ti/gcc/bin/../lib/gcc/../../lib/gcc/msp430-elf/7.3.2/../../../../msp430-elf/sys-include: Permission denied
cc1: error: /usr/ti/gcc/bin/../lib/gcc/../../lib/gcc/msp430-elf/7.3.2/../../../../msp430-elf/include: Permission denied
make: *** [<builtin>: main.o] Error 1
Another directory with the wrong file permissions. I could be chasing these down for a long time.