Better HN
topnewbestaskshowjobs
Log inSign up

voutilad

30 karma · joined May 30, 2017 (9y ago) · 7 submissions

Submissions

comment 9y ago · link · parent

Note, latest amd64 snapshots reflect the switch to clang if folks are curious and want to experiment:

  > cc -v
  OpenBSD clang version 4.0.0 (tags/RELEASE_400/final) (based on LLVM 4.0.0)
  Target: amd64-unknown-openbsd6.1
  Thread model: posix
  InstalledDir: /usr/bin

comment 9y ago · link · parent

For projects that use configuration frameworks it's often just setting an environment variable like CC or CXX to point to the compiler(s) you want and they'll use those particular binaries when building.

If there is a symlink it's probably ill advised to change it since it would be system-wide.

comment 9y ago · link · parent

OpenBSD has had a github mirror for awhile now. The commit is here: https://github.com/openbsd/src/commit/bc04e837fd81a3001f68f1...

As for clang version, it looks to be 4.0.0 per https://github.com/openbsd/src/commit/53d771aafdbe5b919f264f...

comment 9y ago · link · parent

I use an "Edimax EW-7811Un" (aka the N150-nano) usb wifi adapter. Only costs 8 USD on Amazon.

It uses the urtwn driver in OpenBSD and FreeBSD. It works...ok. Super small and a handy built in blue-LED so you know when it's powered and connected. I tend to leave it plugged in even when I reboot into macOS because it's pretty much ignored there due to lack of out of box macOS kernel module I believe.

comment 9y ago · link · parent

Suspend/resume seems to just work (at least when using X11) out of the box. I've had issues getting FreeBSD to work properly in the past, but maybe 12.0-CURRENT works better these days.

Sadly, no Broadcom support :-(

comment 9y ago · link · parent

Brilliant! I totally forgot about boot2docker. I remember it from when the Docker tooling on macOS was rough.

I didn't notice the docker client was in the ports tree. I may have to give this a go later this week.

comment 9y ago · link · parent

(Full disclosure, I'm the author of the Medium post.)

It's essentially the way Docker for Mac works, though Docker for Mac has far more mature tooling these days. Before the switch to macOS's native Hypervisor.framework, it was very much running VirtualBox with a Linux VM as a "shim" if you will.

For local dev work it scratches an itch for me and maybe for the minority of folks wanting to use OpenBSD as their workstation OS. ("There are dozens of us. Dozens!")

Plus it's just fun to play with VMM. :-)