Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. I’m attempting to use Zig on OpenBSD-current.

I’m attempting to use Zig on OpenBSD-current.

Scheduled Pinned Locked Moved Uncategorized
openbsdzig
2 Posts 1 Posters 3 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • nmott@infosec.exchangeN This user is from outside of this forum
    nmott@infosec.exchangeN This user is from outside of this forum
    nmott@infosec.exchange
    wrote last edited by
    #1

    I’m attempting to use Zig on OpenBSD-current. I have to perform seemingly every action, from viewing zig build —help to actually building a project, as root. This hasn’t been a problem with make, the uxn assembler, etc. What do I need to do to make this easier?

    (I am using zig-0.15.2 from the package repo; maybe I should be using the latest snapshot? I saw there were some OpenBSD-related changes made not that long ago but I figured the version available from ports would either work out of the box or give me instructions for making it work.)

    #OpenBSD #Zig

    1 Reply Last reply
    0
    • nmott@infosec.exchangeN This user is from outside of this forum
      nmott@infosec.exchangeN This user is from outside of this forum
      nmott@infosec.exchange
      wrote last edited by
      #2

      @brettm I didn’t initialize the first projects that presented this problem, but I assume zig init wasn’t run as root. I honestly don’t remember if I needed root permissions with my later tests—sleep-deprived and shouldn’t be awake right now—but I’ll double-check in a bit.

      1 Reply Last reply
      1
      0
      • R relay@relay.infosec.exchange shared this topic
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups