GDC/ARM: Help needed: Porting std.math.internal.gammafunction

Johannes Pfau via Digitalmars-d digitalmars-d at puremagic.com
Thu Jul 3 10:02:03 PDT 2014


Am Thu, 03 Jul 2014 16:47:41 +0000
schrieb "John Colvin" <john.loughran.colvin at gmail.com>:

> testing the latest gdc release, writeln and friends are broken 
> for 64bit reals. Use core.stdc.stdio.printf with %lf instead.

Actually mixing code compiled with -mlong-double-64 and code compiled
without it can't really work - so I was wrong and it's not easily
possible to compile only gammafunction with -mlong-double-64
(gammefunction calls into other maths modules).

So it seems to really test this, either an ARM cross compiler + ARM
system could be used or druntime+phobos must be built with
-mlong-double-64 as well.


More information about the Digitalmars-d mailing list