1
0
Fork 0
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:
Stefan Lankes 2018-05-27 21:58:44 +02:00
parent 0a7aaad3ae
commit 3e61f9fea3
2 changed files with 5 additions and 5 deletions

View file

@ -47,13 +47,13 @@ the HermitCore kernel and applications you need:
### HermitCore cross-toolchain ### 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: toolchain, which can be installed as follows:
```bash ```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 -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: For non-Debian based systems, a docker image with the complete toolchain is provided and can be installed as follows:

View file

@ -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 echo "deb [trusted=yes] https://dl.bintray.com/hermitcore/ubuntu bionic main" | tee -a /etc/apt/sources.list
apt-get update 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 export PATH=/opt/hermit/bin:$PATH
mkdir -p build mkdir -p build
cd 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 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 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