64-bit asm woes

General FreeBASIC programming questions.
jj2007
Posts: 2326
Joined: Oct 23, 2016 15:28
Location: Roma, Italia
Contact:

Re: 64-bit asm woes

Post by jj2007 »

deltarho[1859] wrote:@jj2007

I downloaded that a little while back and it extracts to a 321MB folder. It is no good to us - we want the "gcc 8.2 build from the mingw-w64 project" (w64 as in Windows 64-bit OS)
OK, see my rant above. So did you find the one that is good for us? And why do we specifically need the mingw version? Isn't it all the same gcc stuff? Why do we need that incredible mess of

Code: Select all

FreeBasic\WinFBE_Suite\FreeBASIC-1.06.0\bin\win32\gcc.exe
FreeBasic\bin\win32\gcc.exe
FreeBasic\WinFBE_Suite\FreeBASIC-1.06.0\bin\libexec\gcc\cc1.exe
FreeBasic\bin\libexec\gcc\i686-w64-mingw32\8.1.0\cc1.exe
FreeBasic\WinFBE_Suite\FreeBASIC-1.06.0\bin\libexec\gcc\i686-w64-mingw32\8.1.0\cc1.exe
... etc? It really looks like the typical C++ mess. Shudder.
deltarho[1859]
Posts: 4310
Joined: Jan 02, 2017 0:34
Location: UK
Contact:

Re: 64-bit asm woes

Post by deltarho[1859] »

I don't know. I know one thing and that is I am grateful that I started this 7.3 venture with grey hair. I was barking mad beforehand and that is always a plus.
jj2007
Posts: 2326
Joined: Oct 23, 2016 15:28
Location: Roma, Italia
Contact:

Re: 64-bit asm woes

Post by jj2007 »

deltarho[1859] wrote:I was barking mad beforehand and that is always a plus.
Yeah, adrenaline helps ;-)

Why don't you go for 8.1.0? It looks like a stable release. But the setup issues are really disgusting. I even coded a little helper showing me which gcc version is actually running, see here if you are interested. And speed-wise, I can't see any difference between the old 4.9.2 and the 8.1.0 versions, at least for the testcase posted earlier.

Btw fbc.exe apparently does not exit with an ERRORLEVEL, so for use in batch files it is a bit crippled.
deltarho[1859]
Posts: 4310
Joined: Jan 02, 2017 0:34
Location: UK
Contact:

Re: 64-bit asm woes

Post by deltarho[1859] »

jj2007 wrote:Why don't you go for 8.1.0?
I am doing and have been for a while. However, the paint isn't dry yet and to persuade folk to retire 5.2 using 7.3 would have a good choice. Unfortunately, it would seem that 64-bit 7.3 is broken so that was the end of that.
And speed-wise, I can't see any difference between the old 4.9.2 and the 8.1.0 versions
There are plenty of benchmark tests on the internet which show that on balance, each version of gcc has been faster than the previous one.

BTW, if you are running 8.1 via WinFBE_Suite then have a look at St_W's post here and my following post.
jj2007
Posts: 2326
Joined: Oct 23, 2016 15:28
Location: Roma, Italia
Contact:

Re: 64-bit asm woes

Post by jj2007 »

deltarho[1859] wrote:There are plenty of benchmark tests on the internet which show that on balance, each version of gcc has been faster than the previous one.
It would be a shame if there wasn't any progress ;-)
BTW, if you are running 8.1 via WinFBE_Suite then have a look at St_W's post here and my following post.
Thanks. I use RichMasm to edit & build my FB sources, and right now it all works with 8.1.0, so I won't touch it ;-)
deltarho[1859]
Posts: 4310
Joined: Jan 02, 2017 0:34
Location: UK
Contact:

Re: 64-bit asm woes

Post by deltarho[1859] »

jj2007 wrote:and right now it all works with 8.1.0
That is what we thought with WinFBE_Suite. In fact, the 64-bit cc1 was been run when gcc was running in either 32-bit mode or 64-bit mode. It may be worthwhile checking that your set up is not doing the same thing.
Post Reply