Did you download python or build it yourself? If you download python binaries, it's already compiled and doesn't use your gcc.
If you want to compile python with gcc 6, download the cpython source from here and go wild.
On your platform, gcc-6
command is referring to GCC V6 . gcc
command is still referring to GCC V5 ,
Note: You can check it via typing gcc --version
on terminal.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.