Successfully built FreeBSD on Linux

khush patil <[email protected]> Sun, 19 Nov 2023 17:51:54 +0530
Newsgroups gmane.linux.debian.ports.bsd
Message-ID <CAM0GrHE8ypuvORL6VvbqeURGQP3dM0Ke7iPCbpzp0ZTpFjQN4w@mail.gmail.com>
Hi Team,

I have successfully freebsd on linux using llvm

MAKEOBJDIRPREFIX=/home/kp/build tools/build/make.py --debug TARGET=amd64
TARGET\_ARCH=amd64 --cross-bindir=/usr/lib/llvm-14/bin

MAKEOBJDIRPREFIX=/home/kp/build tools/build/make.py -j 2 TARGET=amd64
TARGET\_ARCH=amd64 buildworld --bootstrap-toolchain
--cross-bindir=/usr/lib/llvm-14/bin

World build completed on Mon Nov 6 00:00:23 IST 2023
> World built in 25484 seconds, ncpu: 4, make -j2
>
MAKEOBJDIRPREFIX=/home/kp/build tools/build/make.py -j 4 TARGET=amd64
TARGET_ARCH=amd64 buildkernel --cross-bindir=/usr/lib/llvm-14/bin

Kernel build for GENERIC completed on Mon Nov 6 14:20:05 IST 2023
> Kernel(s) GENERIC built in 1538 seconds, ncpu: 4, make -j4


Should i need to change to gcc and go for new compilation or it is possible
to build debian package with existing compilation