José Paulo

Results 34 comments of José Paulo

> 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...

> 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 This new release took 8min29s I have a table here comparing build...

I tested this [gcc 12.2.0 binary](https://github.com/niXman/mingw-builds-binaries/releases/tag/12.2.0-rt_v10-rev1) (x86_64-12.2.0-release-posix-seh-rt_v10-rev1) and got 3min03s under the same conditions I did the previous tests.

> A good next step would be to compare outputs of `gcc -v` to find out where the difference lies. I took a look and there are several differences, but...

@brechtsanders unfortunately it didn't solve the speed problem.

> @term-est Are you specifically referring to yesterday's build? I downloaded and tested release 4, but the compile time remains the same. That is, it remains 2.5x slower than the...

@brechtsanders I recently tested `gcc version 13.2.0 (MinGW-W64 x86_64-msvcrt-posix-seh, built by Brecht Sanders, r4)` and it seems that the slowness problem has been resolved. I verified that you now use...

> ### Solution > ``` > nim c -f -d:ssl -p:. -d:noOpenSSLHacks --dynlibOverride:ssl- --dynlibOverride:crypto- -d:sslVersion:"(" --passL:-Lpath/to/openssl/lib --passL:-Bstatic --passL:-lssl --passL:-lcrypto --passL:-Bdynamic -r tssl.nim > ``` Thank you for presenting this solution....

> Can anyone else reproduce this? I managed to reproduce your error using gcc 6.4.0 and Nim 2.0.2 for bootstrap devel. (note: it was necessary to comment out `hint[LineTooLong]=off` in...

Another question: how necessary is it to update the toolchain? The little I know would be the last thing to update in a script like this, which intends to build...