Created
April 4, 2022 09:25
-
-
Save vagetablechicken/4424a72ab0c6fe765851e253dee13bed to your computer and use it in GitHub Desktop.
gcc build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
higher gcc(>=7) don't have pthread,m,... | |
gcc 4.8.5/5.4.0 download and their prerequire dependencies: | |
https://gcc.gnu.org/pub/gcc/ | |
depends: https://gcc.gnu.org/pub/gcc/infrastructure/ | |
mkdir build & cd build | |
../configure --prefix=`pwd`/../output --enable-checking=release --enable-languages=c,c++ --disable-multilib # Multilib means support for multiple architectures | |
make | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment