Porting DMD compiler to haiku OS

iridium via Digitalmars-d digitalmars-d at puremagic.com
Thu May 8 01:18:15 PDT 2014


On Thursday, 8 May 2014 at 07:55:04 UTC, Jacob Carlborg wrote:
> On 08/05/14 08:53, iridium wrote:
>
>> That's what happens when linking:
>> http://itmages.ru/image/view/1655772/669acb30
>
> You need to link with both Phobos and the C standard library. 
> Run "dmd -v main.d" and look at the linking step at the end.

dmd -v test.d result: 
http://itmages.ru/image/view/1655879/d0bb1c62

gcc -o main test.o 
../../phobos/generated/haiku/release/32/libphobos2.a -lstdc++ 
-lroot result: http://itmages.ru/image/view/1655886/0be9d48f


More information about the Digitalmars-d mailing list