Re: 【GCC version can not be changed】
在 2018/5/5 20:13, 夏晗 写道: root@Xia-Ubuntu:/usr/bin# gcc -v 使用内建 specs。 COLLECT_GCC=gcc 目标:x86_64-pc-linux-gnu 配置为:../configure -enable-checking=release -enable-languages=c,c++ -disable-multilib 线程模型:posix gcc 版本 6.2.0 (GCC) I have tried many methods like 'ln' and priority changing, but 'gcc -v' still maintain at '6.2.0'... If you are using Ubuntu, the command `gcc` is a symlink to whichever version selected by your Ubuntu release and is the one used to build all system packages. Consequently, using a different target might result in binary incompatibility and is not recommended. If you would like to invoke a different version of GCC, append the version number to it. This is true for all official releases and PPA packages. For example, to invoke GCC 7 explicitly, you have to ensure it is installed by running `sudo apt-get install gcc-7`. The command `gcc-7` will be available thereafter and can be invoked either directly or indirectly by setting the `CC` environment variable. -- Best regards, LH_Mouse
Successful bootsrap of gcc 8.1.0 on x86_64-w64-mingw32
Bootstrap is done with msys2 on Windows 7. For the testsuite results see https://gcc.gnu.org/ml/gcc-testresults/2018-05/msg00583.html signature.asc Description: OpenPGP digital signature
gcc-9-20180506 is now available
Snapshot gcc-9-20180506 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/9-20180506/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 9 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/trunk revision 259982 You'll find: gcc-9-20180506.tar.xzComplete GCC SHA256=dde70aaeb5569e422245051e4d3975e8dcc5a5ea8d0ee6f742dad4021908a7b6 SHA1=f4ce8a1c911af280366828e1dcf93112eac7664f Diffs from 9-20180429 are available in the diffs/ subdirectory. When a particular snapshot is ready for public consumption the LATEST-9 link is updated and a message is sent to the gcc list. Please do not use a snapshot before it has been announced that way.