An Interest In:
Web News this Week
- March 22, 2024
- March 21, 2024
- March 20, 2024
- March 19, 2024
- March 18, 2024
- March 17, 2024
- March 16, 2024
March 29, 2022 01:31 pm GMT
Original Link: https://dev.to/csaltos/install-elm-for-openbsd-x8664-4fpe
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:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To