Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andremiras/trusty-arm-xcompile
Cross compile for ARM using Docker
https://github.com/andremiras/trusty-arm-xcompile
Last synced: 10 days ago
JSON representation
Cross compile for ARM using Docker
- Host: GitHub
- URL: https://github.com/andremiras/trusty-arm-xcompile
- Owner: AndreMiras
- Created: 2015-12-15T23:21:04.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-15T23:31:59.000Z (about 9 years ago)
- Last Synced: 2025-01-01T22:32:09.266Z (10 days ago)
- Language: Python
- Size: 1000 Bytes
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# README
## Overview
Easily cross compile Debian packages for ARM in an isolated environment using Docker.## Build
docker build --tag=xcompile .## Run
To cross compile a package, simply provide the package name to the --xcompile argument, e.g. cppunit.docker run --volume /tmp/shared:/shared xcompile --xcompile cppunit
## Consume
Freshly cross compiled deb archives will be available in the host computer /tmp/shared/ directory.ls /tmp/shared/
-> libcppunit-1.13-0_1.13.1-2ubuntu1_armel.deb libcppunit-dev_1.13.1-2ubuntu1_armel.deb libcppunit-doc_1.13.1-2ubuntu1_all.debInspect and install them using dpkg.
dpkg --contents libcppunit-1.13-0_*_armel.deb
sudo dpkg --install --force-architecture --path-exclude=/usr/share/* --path-exclude=/usr/include/* --path-exclude=/usr/bin/* libcppunit-dev_*_armel.deb## Motivations
I needed such a tool because I'm still using ARM devices without Hard Float support even though Ubuntu dropped the armel arch.