Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/werehamster/onion-omega
https://github.com/werehamster/onion-omega
haskell
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/werehamster/onion-omega
- Owner: wereHamster
- Created: 2016-02-03T19:32:42.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-07T16:46:12.000Z (almost 9 years ago)
- Last Synced: 2024-04-15T13:59:00.340Z (7 months ago)
- Topics: haskell
- Language: Makefile
- Size: 36.1 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.