D on the Raspberry Pi
Sönke Ludwig
sludwig at outerproduct.org
Tue Jun 12 10:43:33 PDT 2012
Am 12.06.2012 18:09, schrieb Iain Buclaw:
> On 12 June 2012 16:57,<sludwig at outerproduct.org>"@puremagic.com
> <"\"Sönke".Ludwig"> wrote:
>> On Tuesday, 12 June 2012 at 13:06:05 UTC, Henry Robbins Gouk
>> wrote:
>>
>>> Hi all,
>>>
>>> I was wondering if anyone has managed to successfully compile a GDC cross
>>> compiler to target the Raspberry Pi?
>>>
>>> I tried following the instructions found at
>>> http://bitbucket.org/goshawk/gdc/wiki/crosstool-ng but when I try the "ct-ng
>>> build" command I get the following output:
>>>
>>> [INFO ] Performing some trivial sanity checks
>>> [INFO ] Build started 20120613.010123
>>> [INFO ] Building environment variables
>>> [ERROR] Static linking impossible on the host system
>>> 'x86_64-build_unknown-linux-gnu'
>>> [00:02] / make: *** [build] Error 1
>>>
>>> Should I continue along the path of using crosstools to make a cross
>>> compiler, and if so; how? Or is there a better way to achieve my end goal of
>>> having a cross compiler targeting the Raspberry Pi?
>>>
>>> Thanks in advance for any help :-)
>>
>>
>> I tried to build it as a cross compiler and on the raspberry
>> directly - and faild at both. On the raspberry I got a compiler
>> crash, and the cross compiler build process produced random
>> errors - it seems to be very fragile in terms of library versions
>> and such.
>>
>> ...so I would also be very interested in any sucess stories.
>
> Does it get as far as building libphobos/libdruntime ?
>
> I would be interested in, if possible:
>
> 1) Build logs or exact errors of what ICE's / crashes you are getting
> from the compiler.
> 2) A copy of the generated phobos-vers-sym file from the libphobos
> build directory.
> 3) A copy of d-confdefs.h from the gcc/d build directory.
>
>
> Regards
>
It failed already during the gdc build. I'll repeat the process and
collect the logs (I hope I can do that sometime this weekend).
More information about the D.gnu
mailing list