Brecht Sanders

Results 270 comments of Brecht Sanders

The question is: which part exactly is slower in newer versions? - Is GCC slower? - Is binutils slower? - Is MinGW-w64 slower? - Is it a dependency of any...

You can't compare linking PE images on Windows with ELF images on Linux. Also I was told linking is hard to parallelize so it tends to be come down to...

I just found a bug in my script to build the distribution archives, which caused nasm to be only included when llvm was included. I am to understand only C++...

For speed testing purposes I have just made this release (it reverts binutils back to the previous version): https://github.com/brechtsanders/winlibs_mingw/releases/tag/12.2.1-snapshot20221126-10.0.0-msvcrt-r1 Can you try if this version works faster for you?

I was able to build the version with precompiled headers enabled. Can you compare speed again? https://github.com/brechtsanders/winlibs_mingw/releases/tag/12.2.1-snapshot20221126-10.0.0-msvcrt-r2

I have tried to patch the PCH issue according to MSYS2's patches. Can you please check if the [new release](https://github.com/brechtsanders/winlibs_mingw/releases/tag/12.2.0-15.0.6-10.0.0-msvcrt-r3) fixes any PCH and/or C++ compilation speed issues?

When I try to compile bctoolbox 5.1.61 against mbedtls 3.2.1 I get this: ``` FAILED: src/CMakeFiles/bctoolbox-static.dir/crypto/mbedtls.c.obj D:\Prog\winlibs64-11.3.0msvcrt\mingw64\bin\gcc.exe -DHAVE_CONFIG_H -IR:/winlibs64-11.3.0msvcrt/bctoolbox-5.1.61/include -IR:/winlibs64-11.3.0msvcrt/bctoolbox-5.1.61/src -IR:/winlibs64-11.3.0msvcrt/bctoolbox-5.1.61/build_win -DBCTBX_EXPORTS -O3 -DNDEBUG -Wall -Wuninitialized -Wno-error=pragmas -MD -MT src/CMakeFiles/bctoolbox-static.dir/crypto/mbedtls.c.obj...

@sinFunc The latest mbedtls version is [3.4.0](https://github.com/Mbed-TLS/mbedtls/releases/tag/v3.4.0). Any plans to support versions 3.x ?

I would say the reason is the code is simply not written with mbedtls 3.x in mind, just mbedtls 2.x

Since you are not using `main()` but rather `_tmain()` - which is not compatible with MinGW/MinGW-w64 - and it's building for Unicode just adding `-mconsole` doesn't quite fix it. That's...