• mingw-gcc-10.0.1-experimental-i686-posix-sjlj-20200202-0303907


    2020-01-12 gcc 发布了开发版的 10.0.0 之后版本升级为10.0.1
    Thread model posix 版本的 gcc-10.0.1 下载地址
    https://github.com/qq2225936589/gcc-i686-posix-sjlj-for-MSYS
    
    $ gcc -v
    Using built-in specs.
    COLLECT_GCC=d:msysmingwingcc.exe
    COLLECT_LTO_WRAPPER=d:/msys/mingw/bin/../libexec/gcc/i686-w64-mingw32/10.0.1/lto-wrapper.exe
    Target: i686-w64-mingw32
    Configured with: ../gcc-20200202-0303907/configure --prefix=/mingw32 --with-local-prefix=/mingw32 --build=i686-w64-mingw32 --host=i686-w64-mingw32 --target=i686-w64-mingw32 --with-native-system-header-dir=/mingw32/i686-w64-mingw32/include --libexecdir=/mingw32/libexec --enable-checking=release --enable-fully-dynamic-string --enable-graphite --enable-languages=c,lto,c++ --enable-libatomic --enable-libgomp --enable-libstdcxx-time=yes --enable-lto --enable-sjlj-exceptions --enable-shared --enable-static --enable-threads=posix --disable-64bit --disable-bootstrap --disable-isl-version-check --disable-libssp --disable-libstdcxx-debug --disable-libstdcxx-pch
    --disable-multilib --disable-nls --disable-rpath --disable-symvers --disable-werror --disable-win32-registry --with-arch=i686 --with-gmp=/usr/local --with-gnu-as --with-gnu-ld --with-isl=/usr/local --with-libiconv --with-mpc=/usr/local --with-mpfr=/usr/local --with-system-zlib --with-tune=generic --with-pkgversion='i686-posix-sjlj-20200202-0303907, Built by NLSoft' --with-bugurl=http://www.cnblogs.com/nlsoft
    Thread model: posix
    Supported LTO compression algorithms: zlib
    gcc version 10.0.1 20200202 (experimental) (i686-posix-sjlj-20200202-0303907, Built by NLSoft)
    
    git pull origin master
    gcc-10.0.1-20200202-0303907
    如果已经安装 libuv 时 D:MSYSlocalinclude	ree.h 文件 改名为 tree.h.orig 等gcc 编译完成后 在改回来
    -------------------------------------------------------------------------------
    gcc version gcc-10.0.1-20200202-0303907 --enable-sjlj-exceptions 
    -------------------------------------------------------------------------------
    export CPP=/mingw/bin/cpp 
    export LD_LIBRARY_PATH=/usr/local/lib 
    export LIBS= 
    export   CFLAGS='-O2 -pipe -fno-ident -I/usr/local/include -I/usr/mingw/i686-w64-mingw32/include' 
    export CPPFLAGS='-O2 -pipe -fno-ident -I/usr/local/include -I/usr/mingw/i686-w64-mingw32/include' 
    export CXXFLAGS='-O2 -pipe -fno-ident -I/usr/local/include -I/usr/mingw/i686-w64-mingw32/include' 
    export  LDFLAGS='-pipe -fno-ident -L/usr/local/lib  -L/usr/mingw/i686-w64-mingw32/lib -Wl,--large-address-aware' 
    
    mkdir gccbuild
    cd gccbuild
    
    ../gcc-20200202-0303907/configure --prefix=/mingw32 --with-local-prefix=/mingw32 --build=i686-w64-mingw32 --host=i686-w64-mingw32 --target=i686-w64-mingw32 --with-native-system-header-dir=/mingw32/i686-w64-mingw32/include --libexecdir=/mingw32/libexec --enable-checking=release --enable-fully-dynamic-string --enable-graphite --enable-languages=c,lto,c++ --enable-libatomic --enable-libgomp --enable-libstdcxx-time=yes --enable-lto --enable-sjlj-exceptions --enable-shared --enable-static --enable-threads=posix --disable-64bit --disable-bootstrap --disable-isl-version-check --disable-libssp --disable-libstdcxx-debug --disable-libstdcxx-pch --disable-multilib --disable-nls --disable-rpath --disable-symvers --disable-werror --disable-win32-registry --with-arch=i686 --with-gmp=/usr/local --with-gnu-as --with-gnu-ld --with-isl=/usr/local --with-libiconv --with-mpc=/usr/local --with-mpfr=/usr/local --with-system-zlib --with-tune=generic --with-pkgversion='i686-posix-sjlj-20200202-0303907, Built by NLSoft' --with-bugurl=http://www.cnblogs.com/nlsoft
    
    make -j2 && echo -------------.install.-------------------------- && make install
    
    如果 make install 时出现错误 make: *** No rule to make target 时
    D:MSYSuildgccbuild *.ppo;*.dep;*.plo;*.po 文件中的
    D:/MSYS 改成 D:/MSYS
    d:msys 改成 d:msys
    
    d:msysinstrip *.exe
    d:msysinstrip *.dll
  • 相关阅读:
    QSerialPort类
    初识Json
    Qt plugins(插件)目录
    Qt连接sql server数据库遇到的问题
    串口通信中,QString 、QByteArray 转化需要注意的问题
    Qt : 隐式数据共享(copy on write)
    Ascii码 、16进制与 char
    Caffe框架详细梳理
    时间管理
    Atom实用配置插件for C++
  • 原文地址:https://www.cnblogs.com/nlsoft/p/12254439.html
Copyright © 2020-2023  润新知