From 835956f41316c6a76c326ac0e2cf7c22abc2aa4c Mon Sep 17 00:00:00 2001 From: lizzie Date: Wed, 14 Jan 2026 20:00:25 +0000 Subject: [PATCH] cross compile insn, exclude x11 from headless --- docs/CrossCompile.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/CrossCompile.md b/docs/CrossCompile.md index d0b0732310..7eeb4b7b67 100644 --- a/docs/CrossCompile.md +++ b/docs/CrossCompile.md @@ -210,7 +210,9 @@ This is a guide for FreeBSD users mainly. Now you got a PowerPC sysroot - quickly decompress it somewhere, say `/home/user/opt/powerpc64le`. Create a toolchain file, for example `powerpc64le-toolchain.cmake`; always [consult the manual](https://man.freebsd.org/cgi/man.cgi?query=cmake-toolchains&sektion=7&manpath=FreeBSD+13.2-RELEASE+and+Ports). -There is a script to automatically do all of this under `./tools/setup-cross-sysroot.sh` +There is a script to automatically do all of this under `./tools/setup-cross-sysroot.sh`. + +Remember to add `-mabi=elfv1` to `CFLAGS`/`CXXFLAGS` otherwise the program will crash. Specify: