questions about NetBSD port

Nikolay via Digitalmars-d digitalmars-d at puremagic.com
Wed Feb 3 09:36:36 PST 2016


On Wednesday, 3 February 2016 at 06:25:49 UTC, Joakim wrote:
> On Tuesday, 2 February 2016 at 18:45:20 UTC, Nikolay wrote:
>
> You're probably better off porting dmd 2.068 first (as it's the 
> last dmd written wholly in C++), using it to compile dmd git 
> master on NetBSD, then porting druntime and phobos master.  
> Porting dmd to NetBSD/x86 is likely easy: simply follow what 
> the other BSDs have done, as you did for ldc.
>

I decided try to repeat LDC team forkflow and cherry-pick my 
commit to ldc branch (druntime). There are a couple simple 
conflicts in src/core/stdc/locale.d & 
src/core/sys/posix/signal.d, and one absent (in master) file: 
src/rt/sections_ldc.d
I successfully build and run druntime unittests on NetBSD after 
resolving conflicts.

PS
I created new pull request to druntime: 
https://github.com/D-Programming-Language/druntime/pull/1492


More information about the Digitalmars-d mailing list