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

ThorstenOtto
Atari Super Hero
Atari Super Hero
Posts: 830
Joined: Sun Aug 03, 2014 5:54 pm

GCC 8.3.0 / binutils 2.32

Postby ThorstenOtto » Sat Feb 23, 2019 5:01 pm

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: 1019
Joined: Tue May 24, 2016 6:47 pm

Re: GCC 8.3.0 / binutils 2.32

Postby czietz » Sat Feb 23, 2019 7:42 pm

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

Postby b0br » Sat Feb 23, 2019 7:46 pm

(thumbsup) (^_^) ty

ThorstenOtto
Atari Super Hero
Atari Super Hero
Posts: 830
Joined: Sun Aug 03, 2014 5:54 pm

Re: GCC 8.3.0 / binutils 2.32

Postby ThorstenOtto » Thu Feb 28, 2019 7:19 am

Due to popular demand ( :wink: @ czietz) there are now also separate archives with the fortran compilers available.

ThorstenOtto
Atari Super Hero
Atari Super Hero
Posts: 830
Joined: Sun Aug 03, 2014 5:54 pm

Re: GCC 8.3.0 / binutils 2.32

Postby ThorstenOtto » Thu Feb 28, 2019 7:54 am

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: 87
Joined: Sat Sep 03, 2016 12:20 am

Re: GCC 8.3.0 / binutils 2.32

Postby LuigiThirty » Thu Feb 28, 2019 7:57 am

Awesome, thanks.

User avatar
saulot
Captain Atari
Captain Atari
Posts: 212
Joined: Sat Sep 18, 2004 9:09 pm
Location: Warszawa
Contact:

Re: GCC 8.3.0 / binutils 2.32

Postby saulot » Thu Feb 28, 2019 10:10 am

Great news, thanks! :)

BlankVector
Captain Atari
Captain Atari
Posts: 486
Joined: Wed Oct 24, 2007 7:52 pm
Location: France
Contact:

Re: GCC 8.3.0 / binutils 2.32

Postby BlankVector » Thu Feb 28, 2019 11:13 am

Well done!
Subscribe to my Vretrocomputing channel on YouTube and Facebook. Latest video: Save and restore the video mode in assembly language on Atari ST.

insane
Atari User
Atari User
Posts: 34
Joined: Thu Aug 28, 2014 11:42 am
Location: Frankfurt (Oder), Germany
Contact:

Re: GCC 8.3.0 / binutils 2.32

Postby insane » Thu Feb 28, 2019 11:51 am

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 Super Hero
Atari Super Hero
Posts: 830
Joined: Sun Aug 03, 2014 5:54 pm

Re: GCC 8.3.0 / binutils 2.32

Postby ThorstenOtto » Thu Feb 28, 2019 4:22 pm

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 Super Hero
Atari Super Hero
Posts: 830
Joined: Sun Aug 03, 2014 5:54 pm

Re: GCC 8.3.0 / binutils 2.32

Postby ThorstenOtto » Sat Mar 02, 2019 11:03 pm

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: 2034
Joined: Sat Sep 10, 2005 11:11 am
Location: Kosice, Slovakia
Contact:

Re: GCC 8.3.0 / binutils 2.32

Postby mikro » Mon Mar 04, 2019 7:16 am

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 Super Hero
Atari Super Hero
Posts: 830
Joined: Sun Aug 03, 2014 5:54 pm

Re: GCC 8.3.0 / binutils 2.32

Postby ThorstenOtto » Mon Mar 04, 2019 7:54 am

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: 2034
Joined: Sat Sep 10, 2005 11:11 am
Location: Kosice, Slovakia
Contact:

Re: GCC 8.3.0 / binutils 2.32

Postby mikro » Mon Mar 04, 2019 1:35 pm

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


Social Media

     

Return to “C / PASCAL etc.”

Who is online

Users browsing this forum: No registered users and 2 guests