|

楼主 |
发表于 2019-1-8 10:21:23
|
显示全部楼层
那个机器离我有点远,我估计我配置有点问题。下面这段是我在ubuntu虚拟机上运行编译指令的版本结果。似乎要设置一下这个configure,但是这上面写死了,不知道怎么改。
- shawn@shawn-VirtualBox:/usr/lib/gcc/x86_64-linux-gnu/7$ swg++ -v
- Reading specs from /usr/sw/swgcc530-sw6-cross/usr/lib/gcc/sw_64sw6-sunway-linux-gnu/5.3.0/specs
- COLLECT_GCC=sw_64sw6-sunway-linux-gnu-g++
- COLLECT_LTO_WRAPPER=/usr/sw/swgcc530-sw6-cross/usr/libexec/gcc/sw_64sw6-sunway-linux-gnu/5.3.0/lto-wrapper
- Target: sw_64sw6-sunway-linux-gnu
- Configured with: /home/xwb/swgcc530-svn/gcc-5.3.0/configure --prefix=/usr/sw/swgcc530-sw6-cross/usr --with-gmp=/usr/sw/swgcc530-sw6-cross/usr/lib_for_gcc --with-mpfr=/usr/sw/swgcc530-sw6-cross/usr/lib_for_gcc --enable-shared --program-suffix=5 --enable-linker-build-id --enable-threads=posix --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-multiarch --disable-werror --enable-multilib --enable-checking=release --enable-languages=c,c++,fortran,go,lto,objc,obj-c++ --build=x86_64-redhat-linux --host=x86_64-redhat-linux --target=sw_64sw6-sunway-linux-gnu --enable-c99 --enable-long-long --enable-threads=posix --enable-gnu-indirect-function --enable-__cxa_atexit --disable-nls --with-sysroot=/usr/sw/swgcc530-sw6-cross CFLAGS='-g -gdwarf-2' CXXFLAGS='-g -gdwarf-2'
- Thread model: posix
- Version: SWREACH GCC5.3.0-48 (20180703) by xwb on trunk
复制代码 |
|