Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
March 29, 2022 01:31 pm GMT

Install Elm for OpenBSD x86_64

What?

Just some quick steps to compile Elm for OpenBSB on amd64 based chimps since the official distribution does not support OpenBSD yet.

How?

Get OpenBSD installed and run these commands as root:

pkg_add gitpkg_add cabal-installgit clone https://github.com/elm/compiler.gitcd compilergit checkout 0.19.1rm worker/elm.cabalcabal new-updatecabal new-configurecabal new-build

Wait for a while and the binary should be hopefully at compiler/dist-newstyle/build/x86_64-openbsd/ghc-*/elm-0.19.1/x/elm/build/elm/elm

Who?

As always a big thank you to Evan Czaplicki and the wonderful people creating and maintaining Elm.

Some references compilation optimizations may be found at https://github.com/elm/compiler/blob/0.19.1/installers/linux/Dockerfile and https://gist.github.com/rlefevre/1523f47e75310e28eee243c9c5651ac9

For learning more about Elm please go to Elm The Complete Guide


Original Link: https://dev.to/csaltos/install-elm-for-openbsd-x8664-4fpe

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To