countryuf.blogg.se

Best raspbian os 2017
Best raspbian os 2017




best raspbian os 2017

There is NO 5 warranty not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 4 This is free software see the source for copying conditions. This is what I see on my Pi: 1 $ gcc-10.1 -versionĢ gcc-10.1 (GCC) 10.1.0 3 Copyright (C) 2020 Free Software Foundation, Inc. You can check if everything is properly setup by printing the version of the installed compiler: 1 gcc-10.1 -version ~/.bashrc 4 sudo ln -s /usr/include/arm-linux-gnueabihf/sys /usr/include/sys 5 sudo ln -s /usr/include/arm-linux-gnueabihf/bits /usr/include/bits 6 sudo ln -s /usr/include/arm-linux-gnueabihf/gnu /usr/include/gnu 7 sudo ln -s /usr/include/arm-linux-gnueabihf/asm /usr/include/asm 8 sudo ln -s /usr/lib/arm-linux-gnueabihf/crti.o /usr/lib/crti.o 9 sudo ln -s /usr/lib/arm-linux-gnueabihf/crt1.o /usr/lib/crt1.o 10 sudo ln -s /usr/lib/arm-linux-gnueabihf/crtn.o /usr/lib/crtn.oĪt this point, you should be able to invoke the compilers with gcc-10.1, g++-10.1 or gfortran-10.1. Next, we are going to add the new compilers to the path and create a few symbolic links: 1 echo 'export PATH=/opt/gcc-10.1.0/bin:$PATH' > ~/.bashrc 2 echo 'export LD_LIBRARY_PATH=/opt/gcc-10.1.0/lib:$LD_LIBRARY_PATH' > ~/.bashrc 3. Next, extract the archive, move the extracted compilers to /opt and remove the repository: 1 cd raspberry-pi-gcc-binary 2 tar -xjvf gcc-10.1.2 3 sudo mv gcc-10.1.0 /opt 4 cd. Open a Terminal and download a binary of GCC 10: 1 git clone Let’s start the GCC installation process. If you don’t have git on your Raspbian, you can install it with: 1 sudo apt install git If you also want to install Clang on your Raspberry Pi, check my article.įirst, make sure that your Raspbian is updated: 1 sudo apt update & sudo apt upgrade -y

best raspbian os 2017

If you want to compile GCC 10 from sources check my article.






Best raspbian os 2017