[Freemint-list] m68k-atari-mint-gcc 7.1 status

Miro Kropáček miro.kropacek at gmail.com
Sat Aug 26 13:10:15 MSD 2017


>
> I think i found the reason now. gcc thinks that all c99 math functions are
> available (which isn't the case for mint), and then later is told that
> sincos() isn't. That's why a strange path to a call to cexp() is used. As
> far
> as i can tell, this would actually produce the correct result, the only
> problem is that cexp() isn't available. The attached patch should fix this.
>
Hats off mate -- works wonderfully. You have incredibly broad area of
expertise (or dedication).

This thread: https://gcc.gnu.org/ml/gcc-patches/2012-12/msg01324.html seems
to demonstrate various fine-tuning regarding the C99 matter but I'm not
sure how helpful it is.

Anyways -- my test project is now 100% compiled with gcc 7.1.0 -- incl. its
dependencies zlib, readline and ncurses and works a treat. But it's true
what you mentioned in the EmuTOS mailing list, binaries are much larger, in
my case about ~40 KB against gcc 4.6.4. But there's a speed increase as
well, I will do some benchmarks (as I happen to work on a project which
heavily needs every free CPU cycle).

Also, another great thing about this release (actually not this but any
recent one, where recent >= 2016) is that nearly all of the bugs me or
Vincent had encountered are, tada, fixed! Most importantly this
applies to compiling
zView with -O2 for -mcpu=5475
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48551> but also:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48554#attach_23956 (mintlib
compilation)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59196 (actually my patch
included in the GCC tree, how awesome ;-))
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59946 (PC relative code works
again!)

I verified all my bugs to be fixed one by one, Vincent's one are here:
https://gcc.gnu.org/bugzilla/buglist.cgi?quicksearch=ALL%20reporter%3Avincent.riviere%40freesbee.fr&list_id=186499
.

I'll do some more testing and I guess then Thorsten can make a PR for
Vincent to include it into our repository and release.

-- 
MiKRO / Mystic Bytes
http://mikro.atari.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.atariforge.org/pipermail/freemint-list/attachments/20170826/0dcab724/attachment.html 


More information about the Freemint-list mailing list