Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions content/docs/internals/cross-compiling.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Cross-compilig Unikraft
title: Cross-compiling Unikraft
---

## Cross-compiling `AArch64` apps
Expand All @@ -15,7 +15,7 @@
## Cross-compiling Unikraft with `Clang`

As `clang` becomes more and more used in the industry, we also provide a series of steps in order to compile your application with it.
Besides coming up with cool sanitizers (SafeStack, ShadowStack and more), `clang` becomes a very interesting alternative to `gcc` when it comes to speed and memory[^1], so why not give it a try?!

Check failure on line 18 in content/docs/internals/cross-compiling.mdx

View workflow job for this annotation

GitHub Actions / Markdown Linter

line per sentence one line (and only one line) per sentence [Expected one sentence per line. Multiple end of sentence punctuation signs found on one line!]

Firstly, we must consider what architecture we are working on, because the steps differ quite a bit.

Expand All @@ -33,7 +33,7 @@
there's either `aarch64-linux-gnu` or `aarch64-none-linux-gnu`.
The first one can be installed via your default package manager (the `gcc-aarch64-linux-gnu` package on Ubuntu), while the second one should be fetched from the [official Arm development site](https://developer.arm.com/-/media/Files/downloads/gnu/11.2-2022.02/binrel/gcc-arm-11.2-2022.02-x86_64-aarch64-none-linux-gnu.tar.xz?rev=33c6e30e5ac64e6dba8f0431f2c35f1b&hash=AE0C3F32FC140B87A05846EBF9494722).

To configure your app keep your regular configuartions and dissable all the `erratums` from the `Architecture Selection`.
To configure your app keep your regular configurations and disable all the `erratums` from the `Architecture Selection`.

* If you choose to use `aarch64-linux-gnu`, build your application with:

Expand Down