Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/werehamster/onion-omega


https://github.com/werehamster/onion-omega

haskell

Last synced: 25 days ago
JSON representation

Awesome Lists containing this project

README

        

# onion-omega

https://medium.com/@wereHamster/cross-compiling-for-the-onion-omega-1cf8ee80df02

Docker images for building C and GHC toolchains for the onion omega
IoT device.

First build the image in the `xt` subfolder. It will build the
C toolchain and install it into `/opt/mips-unknown-linux-musl`.
Save that image under the `onion-omega-xt` tag:

cd xt
docker build -t onion-omega-xt .

Next you can build the GHC cross-compiler from the `ghc`
subdirectory. It will install a GHC cross-compiler into
`/opt/ghc`:

cd ghc
docker build -t onion-omega-ghc .

If you want to install the toolchains directly on your host,
simply follow the instructions in the Dockerfiles. They are
rather simple and should be easy to follow.