Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Apr 2016 22:16:28 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Emb Aud <embaudarm@gmail.com>
Cc:        Russell Haley <russ.haley@gmail.com>, freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: Can't installworld for arm -- cc: not found
Message-ID:  <CANCZdfo-f-6_m6eMT2ji7Gg9eSXuRcjhk8gQ82sxTwPF9LXg%2BQ@mail.gmail.com>
In-Reply-To: <CANC_bnNvFt142dDms%2BRjz4SYJFego_mJgxd75dPFz0BkHV0FfQ@mail.gmail.com>
References:  <CANC_bnNN6Dc-CoTe%2B=gGn5SRGn9KeJqFFBxub=5hviGLiUd7eA@mail.gmail.com> <CABx9NuSR7xG%2BGHncSvoNYM_S2ZXgnmRg195ZLdeXobVEh5CVbg@mail.gmail.com> <CANC_bnNvFt142dDms%2BRjz4SYJFego_mJgxd75dPFz0BkHV0FfQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I plan on making the cut over later this week.

Warner



On Sat, Apr 9, 2016 at 9:13 PM, Emb Aud <embaudarm@gmail.com> wrote:

> Thanks Russ, I'll give that a try on Monday.  I actually saw your thread on
> the same subject as well, after I posted my own question. Oops
>
> On Sat, Apr 9, 2016 at 2:38 AM, Russell Haley <russ.haley@gmail.com>
> wrote:
>
> > I'm actually just studying this page myself right now! There seems to
> > be a discrepancy in the use of sudo. When you sudo the root user
> > doesn't have the MAKEOBJDIRPREFIX environment variable set. Using sudo
> > with -E (preserves environment) fixed it for me (your results may
> > vary).
> >
> > Command Line:
> > sudo -E make installworld blah blah blah
> >
> > In the mk Script:
> > ... mk_sudo="sudo -E";;
> >
> > Hope that helps,
> >
> > Russ
> >
> > On Fri, Apr 8, 2016 at 7:46 PM, Emb Aud <embaudarm@gmail.com> wrote:
> > > 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!
> > > _______________________________________________
> > > freebsd-arm@freebsd.org mailing list
> > > https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> > > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"
> >
> _______________________________________________
> freebsd-arm@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfo-f-6_m6eMT2ji7Gg9eSXuRcjhk8gQ82sxTwPF9LXg%2BQ>