Porting gdc to a new target (Nios2) any guides out there?

Iain Buclaw via D.gnu d.gnu at puremagic.com
Tue Jul 22 22:41:30 PDT 2014


On 23 Jul 2014 06:25, "Timo Sintonen via D.gnu" <d.gnu at puremagic.com> wrote:
>
> On Tuesday, 22 July 2014 at 22:13:15 UTC, John Carter wrote:
>>
>> So for various reasons I see potential to use a gdc on an Altera FPGA
with a nios2 softcore running embedded linux.
>>
>> Given gdc on linux exists, gdc arm port exists, gcc nios2 back end
exists....
>>
>> Leaves me wondering... how hard could it be to get gdc targetting Nios2?
>>
>> Any "this is how to do these things" type guides out there?
>
>
> I do not know this system but should be possible.
> Maybe this is the starting point:
> http://wiki.dlang.org/GDC/Installation
>
> At the end of the page there is a link to cross compiler page. In that
page there is 4 different ways people have used.
>
> First forget D and try to build a C only toolset. If this works then
build c++

I'd skip step one and just go straight to building C++ first. Given that
gcc is no longer written in C.

Iain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20140723/b6271e6d/attachment.html>


More information about the D.gnu mailing list