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

Iain Buclaw via Digitalmars-d digitalmars-d at puremagic.com
Thu Jul 3 10:28:45 PDT 2014


On 3 July 2014 18:27, Iain Buclaw <ibuclaw at gdcproject.org> wrote:
> On 3 July 2014 18:02, Johannes Pfau via Digitalmars-d
> <digitalmars-d at puremagic.com> wrote:
>> 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.
>
>
> FYI, for those who don't have a ARM board at hand, there's always QEMU+chroot.
>
> http://superpiadventures.com/2012/07/development-environment/

Or if you're an Ubuntu user (release names are a bit outdated)

https://wiki.ubuntu.com/ARM/RootfsFromScratch/QemuDebootstrap


More information about the Digitalmars-d mailing list