Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Apr 2016 22:46:03 -0400
From:      Emb Aud <embaudarm@gmail.com>
To:        freebsd-arm@freebsd.org
Subject:   Can't installworld for arm -- cc: not found
Message-ID:  <CANC_bnNN6Dc-CoTe%2B=gGn5SRGn9KeJqFFBxub=5hviGLiUd7eA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi Everyone.

I would like to use FreeBSD as an embedded OS on the Xilinx Zynq ARM chip.
At the moment I am targeting the Zybo board until our custom board is ready.

I tried to follow the instructions here to build everything:
https://wiki.freebsd.org/FreeBSD/arm/crossbuild

buildworld runs just fine, but installworld fails immediately with an
error:

cc: not found.
"/usr/home/~/projects/zynq/src/share/mk/bsd.compiler.mk" line 141: Unable
to determine compiler type for cc .  Consider setting COMPILER_TYPE.

I think this may be due to a lack of a "src.conf" file.  Unfortunately I
have no idea what to put in that file.

Can anyone give me a clue or two about how to get past this problem?

My config for the mk utility (see the link above) is:

mk_arch="armv6"
mk_insdir="$(pwd)/nfsroot"
mk_jobs="$(sysctl -n hw.ncpu)"
mk_kernel="ZEDBOARD"
mk_makeconf="$(pwd)/config/make.conf"
mk_mkargs=""
mk_nice="nice -10"
mk_objdir="$(pwd)/obj"
mk_srcconf="$(pwd)/config/src.conf"
mk_srcdir="$(pwd)/src"
mk_ubldraddr="0x0"

Thank you!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANC_bnNN6Dc-CoTe%2B=gGn5SRGn9KeJqFFBxub=5hviGLiUd7eA>