GCC 8.3.0 / binutils 2.32

C and PASCAL (or any other high-level languages) in here please

Moderators: simonsunnyboy, Mug UK, Zorro 2, Moderator Team

Post Reply
ThorstenOtto
Atari God
Atari God
Posts: 1192
Joined: Sun Aug 03, 2014 5:54 pm

GCC 8.3.0 / binutils 2.32

Post by ThorstenOtto »

I have just updated my cross-compilers to the above mentioned versions. As before, you can find them at http://tho-otto.de/crossmint.php
czietz
Hardware Guru
Hardware Guru
Posts: 1244
Joined: Tue May 24, 2016 6:47 pm

Re: GCC 8.3.0 / binutils 2.32

Post by czietz »

Thank you!
b0br
Retro freak
Retro freak
Posts: 11
Joined: Sat Aug 27, 2016 6:05 pm

Re: GCC 8.3.0 / binutils 2.32

Post by b0br »

(thumbsup) (^_^) ty
ThorstenOtto
Atari God
Atari God
Posts: 1192
Joined: Sun Aug 03, 2014 5:54 pm

Re: GCC 8.3.0 / binutils 2.32

Post by ThorstenOtto »

Due to popular demand ( :wink: @ czietz) there are now also separate archives with the fortran compilers available.
ThorstenOtto
Atari God
Atari God
Posts: 1192
Joined: Sun Aug 03, 2014 5:54 pm

Re: GCC 8.3.0 / binutils 2.32

Post by ThorstenOtto »

Oh, almost forgot: native versions are now also available there. Note however that the library directory layout is a bit different than the one from Mikro's version: the 68000 libraries are always looked up in /usr/lib/m68000, regardless of which compiler version is used. Please let me know if there are any problems with this (you may want to take an extra look when installing additional libraries, including the cross-compiled ones currently on my site). Otherwise they behave the same: the 020-version produces 020 code by default.
LuigiThirty
Atari maniac
Atari maniac
Posts: 97
Joined: Sat Sep 03, 2016 12:20 am

Re: GCC 8.3.0 / binutils 2.32

Post by LuigiThirty »

Awesome, thanks.
User avatar
saulot
Captain Atari
Captain Atari
Posts: 228
Joined: Sat Sep 18, 2004 9:09 pm
Location: Warszawa
Contact:

Re: GCC 8.3.0 / binutils 2.32

Post by saulot »

Great news, thanks! :)
BlankVector
Atari Super Hero
Atari Super Hero
Posts: 521
Joined: Wed Oct 24, 2007 7:52 pm
Location: France
Contact:

Re: GCC 8.3.0 / binutils 2.32

Post by BlankVector »

Well done!
Subscribe to my Vretrocomputing channel on YouTube and Facebook. Latest video: Replace Atari STE ROMs with EEPROMs.
insane
Atari User
Atari User
Posts: 36
Joined: Thu Aug 28, 2014 11:42 am
Location: Frankfurt (Oder), Germany
Contact:

Re: GCC 8.3.0 / binutils 2.32

Post by insane »

Great news!
Is there a possibility to also have fdlibm https://github.com/freemint/fdlibm available precompiled on your site?
Seems like PML uses instructions which need to be emulated on the 68060.
(I've gotten 2 FPS more (5fps->7fps) in my "Descent"-Porting experiments by switching from PML to FDLIBM on my 68060 Falcon.)
.tSCc. - low-tech atari cyberpunks since 1990 | http://insane.tscc.de
ThorstenOtto
Atari God
Atari God
Posts: 1192
Joined: Sun Aug 03, 2014 5:54 pm

Re: GCC 8.3.0 / binutils 2.32

Post by ThorstenOtto »

Yes, that should be possible. I haven't done any tests with this though, and mintlib for example was compiled using pml. Also there might be discrepancies when using C++, since the library is configured using the math.h that was in place when gcc is compiled. Some constants in /usr/m68k-atari-mint/sys-root/usr/include/c++/8/m68k-atari-mint/*/bits/c++config.h depend on this.
Seems like PML uses instructions which need to be emulated on the 68060.
That might be possible, but i guess that also applies to fdlibm. Both are compiled with m68020-60 for 020 targets.

Edit: that library should already be available as snapshot, take a look at https://github.com/freemint/freemint.gi ... ibm/master. Current one is https://github.com/freemint/freemint.gi ... bb.tar.bz2 It is compiled using gcc 4.6.4, though
ThorstenOtto
Atari God
Atari God
Posts: 1192
Joined: Sun Aug 03, 2014 5:54 pm

Re: GCC 8.3.0 / binutils 2.32

Post by ThorstenOtto »

Just for the fun of it: i also compiled it now natively. On a I7 running ARAnyM+JIT, that took ~22h (in a bash started directly from mint.cnf, without GUI). If anyone wants to try that on real HW, let me know :)
mikro
Hardware Guru
Hardware Guru
Posts: 2218
Joined: Sat Sep 10, 2005 11:11 am
Location: Kosice, Slovakia
Contact:

Re: GCC 8.3.0 / binutils 2.32

Post by mikro »

ThorstenOtto wrote:Just for the fun of it: i also compiled it now natively
You know what is even more fun? Trying to verify the build using the gcc test suite. :) I remember my attempts to get it running properly but couldn't (failing on some shell magic, IIRC). Maybe it has changed over time.
ThorstenOtto
Atari God
Atari God
Posts: 1192
Joined: Sun Aug 03, 2014 5:54 pm

Re: GCC 8.3.0 / binutils 2.32

Post by ThorstenOtto »

IIRC the testsuite uses dejagnu, which relies on ptys to work properly. I'm not sure whether mints implementation is good enough for that. And of course you need a working version of dejagnu/expect.
mikro
Hardware Guru
Hardware Guru
Posts: 2218
Joined: Sat Sep 10, 2005 11:11 am
Location: Kosice, Slovakia
Contact:

Re: GCC 8.3.0 / binutils 2.32

Post by mikro »

Yep, that sounds exactly like what I had encountered. Compilation of dejagnu/expect wasn't difficult but running it, that was a different story.
Post Reply

Return to “C / PASCAL etc.”