Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7666177
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T14:46:05+00:00 2026-05-31T14:46:05+00:00

I have recently been reading up on the D programming language, and am interested

  • 0

I have recently been reading up on the D programming language, and am interested in using it for a small application that would run on OpenBSD.

As far as I can see there is no OpenBSD port for the compiler, but I can see a reference to OpenBSD in the posix.mak file. I don’t have an OpenBSD development environment handy at the moment, so before I go and prepare one I was wondering if anyone has tried developing with D on OpenBSD.

How did it go? Was it easy to setup? Are there any ‘gotchas’ to be aware of? Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T14:46:06+00:00Added an answer on May 31, 2026 at 2:46 pm

    The official druntime (for dmd) does not support OpenBSD. In order for everything to work properly with any OS with D, druntime must support it. It’s possible that it would build for OpenBSD and work with some stuff (I don’t know), but for it to really work properly, it needs to specifically support OpenBSD. There are a number of version blocks specific to OSes, and unless a version block for OpenBSD (or Posix) exists, then that functionality is missing, and won’t work. If enough is missing, then nothing will work.

    Now, druntime does vary on some level from compiler to compiler, as that’s where the lower level, system-specific stuff goes (e.g. the C bindings to glibc and Win32). So, gdc and ldc have their own versions of druntime and may very well support OpenBSD. However, the official compiler, dmd, does not currently do so.

    So, if you want to use OpenBSD with D, you’re going to have to look at gdc and ldc. I believe that the gdc developers in particular have done some extra work to add additional OSes and architectures, since it’s trying to get into gcc-proper, but I really don’t know what exactly it supports at this point, and I have no idea what the current state of ldc is. However, there’s a decent chance that they support OpenBSD.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently bought Programming Scala , and have been reading through it. The language
Possible Duplicate: GOTO still considered harmful? Recently I've been reading The C Programming Language
I've been reading up on foreign keys and joins recently, and have been pleasantly
I have recently been working with Python using Komodo Edit and other simpler editors
I have recently been working with someone on a project that is very ajax
I've been reading a bit about functional programming recently and am keen to get
I have been reading Effective C# and a few other such books/blogs recently and
I have recently been reading about the general use of prime factors within cryptography.
Recently I have been reading up articles about DLL injection and I understand them
I have been reading up on session fixing/hijacking recently, and understand the theory. What

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.