gcc and g++ 9 are available for msys2

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

Dann Corbit
Posts: 12540
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

gcc and g++ 9 are available for msys2

Post by Dann Corbit »

I had to uninstall objective C, though.
It complained about a dependency.
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
User avatar
pedrox
Posts: 1056
Joined: Fri Mar 10, 2006 6:07 am
Location: Basque Country (Spain)

Re: gcc and g++ 9 are available for msys2

Post by pedrox »

Version 9.1.0 seems to create slow executables. Version 8.3.0 was better (almost as 4.9.2)

benchmark mate in 7

gcc 4.9.2

# Time: 44141 ms
# Nodes: 21023045
#
# Best Nodes per second: 480011 (Score: 0.637)

gcc 9.1.0

# Time: 48328 ms
# Nodes: 21023045
#
# Best Nodes per second: 435431 (Score: 0.578)
konsolas
Posts: 182
Joined: Sun Jun 12, 2016 5:44 pm
Location: London
Full name: Vincent

Re: gcc and g++ 9 are available for msys2

Post by konsolas »

I didn't know msys2 existed - I've been stuck on mingw-w64 with an outdated gcc version until now.
konsolas
Posts: 182
Joined: Sun Jun 12, 2016 5:44 pm
Location: London
Full name: Vincent

Re: gcc and g++ 9 are available for msys2

Post by konsolas »

GCC 9.1.0 generates an executable of pretty much the same speed for me.
Dann Corbit
Posts: 12540
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: gcc and g++ 9 are available for msys2

Post by Dann Corbit »

konsolas wrote: Sun Jun 02, 2019 12:46 pm GCC 9.1.0 generates an executable of pretty much the same speed for me.
Me too. I use PGO, so I suspect that is why. Maybe it's not as good right out of the box.
The main thing that gets me excited about a new release is new language features and bug corrections.
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.