Re: Porting DMD compiler to haiku OS

2014-05-09 Thread iridium via Digitalmars-d
On Thursday, 8 May 2014 at 10:02:53 UTC, Joakim wrote: On Thursday, 8 May 2014 at 08:18:16 UTC, iridium wrote: 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

Re: Porting DMD compiler to haiku OS

2014-05-09 Thread Joakim via Digitalmars-d
On Friday, 9 May 2014 at 07:21:36 UTC, iridium wrote: I'm not asking to solve the problem for me. Just tell me what is that. I try to building some simple executables and get this and that: http://itmages.ru/image/view/1657447/92442093 Those are linker errors, because you are missing symbols

Re: Porting DMD compiler to haiku OS

2014-05-08 Thread Jacob Carlborg via Digitalmars-d
On 08/05/14 05:54, iridium wrote: Which as I collected a druntime. But in the link step, the following: http://itmages.ru/image/view/1655530/a5ca9557 You need to link with the C library as well. When compiling with DMD, it uses GCC to link. -- /Jacob Carlborg

Re: Porting DMD compiler to haiku OS

2014-05-08 Thread iridium via Digitalmars-d
On Thursday, 8 May 2014 at 06:07:23 UTC, Jacob Carlborg wrote: On 08/05/14 05:54, iridium wrote: Which as I collected a druntime. But in the link step, the following: http://itmages.ru/image/view/1655530/a5ca9557 You need to link with the C library as well. When compiling with DMD, it uses

Re: Porting DMD compiler to haiku OS

2014-05-08 Thread Jacob Carlborg via Digitalmars-d
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. -- /Jacob Carlborg

Re: Porting DMD compiler to haiku OS

2014-05-08 Thread iridium via Digitalmars-d
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

Re: Porting DMD compiler to haiku OS

2014-05-08 Thread Joakim via Digitalmars-d
On Thursday, 8 May 2014 at 08:18:16 UTC, iridium wrote: 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

Re: Porting DMD compiler to haiku OS

2014-05-07 Thread Daniel Murphy via Digitalmars-d
iridium wrote in message news:ltcxhbcqltnltbidd...@forum.dlang.org... Yes. optabtgen now runs correctly. Now another error. I understand the error during assembly: http://itmages.ru/image/view/1652519/5fa513e0 Linker error actually. The first one is saying it can't find Obj::init which is

Re: Porting DMD compiler to haiku OS

2014-05-07 Thread iridium via Digitalmars-d
On Wednesday, 7 May 2014 at 06:21:48 UTC, Daniel Murphy wrote: iridium wrote in message news:ltcxhbcqltnltbidd...@forum.dlang.org... Yes. optabtgen now runs correctly. Now another error. I understand the error during assembly: http://itmages.ru/image/view/1652519/5fa513e0 Linker error

Re: Porting DMD compiler to haiku OS

2014-05-07 Thread Joakim via Digitalmars-d
On Wednesday, 7 May 2014 at 11:40:59 UTC, iridium wrote: On Wednesday, 7 May 2014 at 06:21:48 UTC, Daniel Murphy wrote: iridium wrote in message news:ltcxhbcqltnltbidd...@forum.dlang.org... Yes. optabtgen now runs correctly. Now another error. I understand the error during assembly:

Re: Porting DMD compiler to haiku OS

2014-05-07 Thread iridium via Digitalmars-d
On Wednesday, 7 May 2014 at 15:26:23 UTC, Joakim wrote: On Wednesday, 7 May 2014 at 11:40:59 UTC, iridium wrote: On Wednesday, 7 May 2014 at 06:21:48 UTC, Daniel Murphy wrote: iridium wrote in message news:ltcxhbcqltnltbidd...@forum.dlang.org... Yes. optabtgen now runs correctly. Now

Porting DMD compiler to haiku OS

2014-05-06 Thread iridium via Digitalmars-d
Good day. Sorry for my bad english. I'm trying to build the dmd compiler to Haiku OS. At compile time get the following error: http://itmages.ru/image/view/1652327/b501e37b What could be the reason? Thanks.

Re: Porting DMD compiler to haiku OS

2014-05-06 Thread Paulo Pinto via Digitalmars-d
On Tuesday, 6 May 2014 at 06:33:51 UTC, iridium wrote: Good day. Sorry for my bad english. I'm trying to build the dmd compiler to Haiku OS. At compile time get the following error: http://itmages.ru/image/view/1652327/b501e37b What could be the reason? Thanks. Have you already updated all

Re: Porting DMD compiler to haiku OS

2014-05-06 Thread iridium via Digitalmars-d
On Tuesday, 6 May 2014 at 07:23:47 UTC, Paulo Pinto wrote: On Tuesday, 6 May 2014 at 06:33:51 UTC, iridium wrote: Good day. Sorry for my bad english. I'm trying to build the dmd compiler to Haiku OS. At compile time get the following error: http://itmages.ru/image/view/1652327/b501e37b What