• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Solved arm64 and pkgbase

tobiam

Member

Thanks: 21
Messages: 88

#1
Hi,

how would I create a pkgbase repo for arm64 cross compiling from amd64? Just doing make packages TARGET=arm64 after building world and kernel doesn't seem to do the trick on CURRENT.

I get:

Code:
sh: cc: not found
make[6]: "/freebsd-current/share/mk/bsd.compiler.mk" line 145: Unable to determine compiler type for CC=cc -target aarch64-unknown-freebsd12.0 --sysroot=/usr/obj/arm64.aarch64//freebsd-current/tmp -B/usr/obj/arm64.aarch64/freebsd-current/tmp/usr/bin.  Consider setting COMPILER_TYPE.
 
Top