https://github.com/armen/docker-crosstool-ng
crosstool-ng container
https://github.com/armen/docker-crosstool-ng
Last synced: 7 months ago
JSON representation
crosstool-ng container
- Host: GitHub
- URL: https://github.com/armen/docker-crosstool-ng
- Owner: armen
- Created: 2015-04-23T06:07:19.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-04-23T07:26:49.000Z (over 10 years ago)
- Last Synced: 2025-01-12T10:29:45.417Z (9 months ago)
- Language: Shell
- Size: 113 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
crosstool-ng container
======================This is a [Docker](http://docker.com) container for [crosstool-NG](http://crosstool-ng.org) with glibc for building toolchains.
This is initially based on [crosstool-NG](https://github.com/Docker-nano/crosstool-NG) project.Building
--------To build the default toolchain follow these steps.
1. `./build-image` – Build the Docker image locally and tag as *ct-ng*.
2. `./build-toolchain` – Build the toolchain from the local *ct-ng* image.The compressed toolchain tarball is copied to your working directory.
Customizing the build
---------------------The build can be customized from within the container. To enter the container run `./run-container`.
The following commands are available within the container.* `crosstool-configure` – Configure crosstool-NG.
* `uclibc-configure` – Configure uClibc.
* `toolchain-build` – Build the toolchain.To copy the toolchain to the host run `./pull-toolchain` from the host.
The following scripts are available on the host.* `./run-container` – Removes any previous container started by this script and runs a new interactive container named *CT-NG*.
* `./pull-configs` – Copies crosstool-NG and uClibc configurations from the *CT-NG* container.
* `./pull-toolchain` – Copies the toolchain from the *CT-NG* container.If you wish to build the modified toolchain outside the container you must first `./pull-configs` then follow the steps in [Building](#building) to rebuild the image.