mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-30 00:00:15 +01:00
build lib with the cross-compiler instead of the bootstrap compiler
This commit is contained in:
parent
0a7aaad3ae
commit
3e61f9fea3
2 changed files with 5 additions and 5 deletions
|
@ -47,13 +47,13 @@ the HermitCore kernel and applications you need:
|
|||
|
||||
### HermitCore cross-toolchain
|
||||
|
||||
We provide prebuilt packages (currently Debian-based only) of the HermitCore
|
||||
We provide prebuilt packages (currently Ubuntu 18.04 only) of the HermitCore
|
||||
toolchain, which can be installed as follows:
|
||||
|
||||
```bash
|
||||
$ echo "deb [trusted=yes] https://dl.bintray.com/rwth-os/hermitcore vivid main" | sudo tee -a /etc/apt/sources.list
|
||||
$ echo "deb [trusted=yes] https://dl.bintray.com/hermitcore/ubuntu bionic main" | sudo tee -a /etc/apt/sources.list
|
||||
$ sudo apt-get -qq update
|
||||
$ sudo apt-get install binutils-hermit newlib-hermit pthread-embedded-hermit gcc-hermit libhermit
|
||||
$ sudo apt-get install binutils-hermit newlib-hermit pte-hermit gcc-hermit libhermit
|
||||
```
|
||||
|
||||
For non-Debian based systems, a docker image with the complete toolchain is provided and can be installed as follows:
|
||||
|
|
4
tests.sh
4
tests.sh
|
@ -36,12 +36,12 @@ apt-get install -y cmake wget curl gnupg checkinstall gawk dialog apt-utils flex
|
|||
|
||||
echo "deb [trusted=yes] https://dl.bintray.com/hermitcore/ubuntu bionic main" | tee -a /etc/apt/sources.list
|
||||
apt-get update
|
||||
apt-get install -y --allow-unauthenticated binutils-hermit newlib-hermit pte-hermit gcc-hermit-bootstrap
|
||||
apt-get install -y --allow-unauthenticated binutils-hermit newlib-hermit pte-hermit gcc-hermit #gcc-hermit-bootstrap
|
||||
export PATH=/opt/hermit/bin:$PATH
|
||||
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake -DTOOLCHAIN_BIN_DIR=/opt/hermit/bin -DCMAKE_INSTALL_PREFIX=/opt/hermit -DBOOTSTRAP=true ..
|
||||
cmake -DTOOLCHAIN_BIN_DIR=/opt/hermit/bin -DCMAKE_INSTALL_PREFIX=/opt/hermit .. #-DBOOTSTRAP=true ..
|
||||
make hermit-bootstrap
|
||||
checkinstall -D -y --exclude=build --pkggroup=main --maintainer=stefan@eonerc.rwth-aachen.de --pkgsource=https://hermitcore.org --pkgname=libhermit --pkgversion=0.2.8 --pkglicense=BSD-2-Clause make hermit-bootstrap-install
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue