Re: dmd for Haiku OS

2022-10-31 Thread Brian Callahan via Digitalmars-d-learn
On Monday, 31 October 2022 at 17:31:58 UTC, Sergey wrote: Story about porting to OpenBSD: https://briancallahan.net/blog/20210320.html Following up on my own blog post, I would definitely recommend using GCC 11.2 as the version to use to bootstrap GDC to Haiku. I think that's the last one b

Re: Can't seem to find the relevant documentation for dub.

2022-10-31 Thread ryuukk_ via Digitalmars-d-learn
On Monday, 31 October 2022 at 20:20:49 UTC, WhatMeWorry wrote: I've got a pretty straightforward SDL dub file dependency "bindbc-opengl"version="~>1.0.3" versions "GL_46" dependency "bindbc-glfw" version="~>1.0.1" versions "GLFW_33" dependency "gl3n" version="~>1.4.1" depende

Can't seem to find the relevant documentation for dub.

2022-10-31 Thread WhatMeWorry via Digitalmars-d-learn
I've got a pretty straightforward SDL dub file dependency "bindbc-opengl"version="~>1.0.3" versions "GL_46" dependency "bindbc-glfw" version="~>1.0.1" versions "GLFW_33" dependency "gl3n" version="~>1.4.1" dependency "bindbc-freeimage" version="~>0.1.1" versions "FI_317" Unr

Re: dmd for Haiku OS

2022-10-31 Thread Sergey via Digitalmars-d-learn
On Thursday, 28 February 2019 at 13:17:44 UTC, MGW wrote: Sorry for Zombie-thread. Just saw the news that wayland was ported to Haiku and was curious if somebody using D in it (https://discuss.haiku-os.org/t/my-progress-in-wayland-compatibility-layer/12373). I have recently looked through Hai

Re: overloading main

2022-10-31 Thread Imperatorn via Digitalmars-d-learn
On Sunday, 30 October 2022 at 23:43:03 UTC, NonNull wrote: On Sunday, 30 October 2022 at 18:24:22 UTC, Adam D Ruppe wrote: [...] Ah, makes sense to limit the possible low level error messages with separate compilation because of the linker not knowing D signatures. Thanks for the intuition.

Re: Error

2022-10-31 Thread Johann via Digitalmars-d-learn
```d writeln (getSize(rom)) ``` reports 478 bytes but since you work with ushorts (why? as far as I can see, this is a 8 bit machine) you convert the read(rom) into ushorts, which is only half in size: ```d writeln (cast(ushort[])read(rom)); ``` gives you 478/2 = 239 bytes ```d this.memory[m