abhiTronix / raspberry-pi-cross-compilers

Latest GCC Cross Compiler & Native (ARM & ARM64) CI generated precompiled standalone toolchains for all Raspberry Pis. 🍇
https://sourceforge.net/projects/raspberry-pi-cross-compilers
GNU General Public License v3.0
595 stars 104 forks source link

How to add c standard header files and libraries into compress package file of native gcc? #45

Closed jackyxinli closed 4 years ago

jackyxinli commented 4 years ago

Hi, I modify file "build-scripts/RTBuilder_32b", change GLIBC_VERSION from 2.24 to 2.23, then I get cross-gcc and native-gcc after 2 hours. I copy file "native-gcc-9.3.0-pi_2-3.tar.gz" into my development board(cpu is imx6ull), uncompress into /usr/local, change environment PATH as "PATH=/usr/local/bin:$PATH", then create a file "hello.c" only call function "printf", but folder "/usr/local/include" does not contain header file "stdio.h". How to add c standard header files and libraries into compress package file of native gcc?

abhiTronix commented 4 years ago

Just follow this wiki instructions: https://github.com/abhiTronix/raspberry-pi-cross-compilers/wiki/Native-Compiler:-Installation-Instructions#raspberry-pi-gcc-native-compiler-arm-toolchains-setup-guide . Also, Please refrain from opening multiple issues of same type.