Can't installworld for arm -- cc: not found
Sylvain Garrigues
sylgar at gmail.com
Sat Apr 9 16:13:30 UTC 2016
Hi Ian,
One question about the following statement on the Wiki:
The armv6 architecture is being deprecated in favor of armv6hf
Will the armv6 target actually gain native hardware floating point - and therefore armv6hf will disappear (like I had understand per a previous conversation on #bsdmips)
or
the armv6 target will indeed be deprecated and armv6hf will be used to build RPI images on FreeBSD’s FTP server for instance?
Any sort of planning in mind for the « deprecation »?
Thank you very much and have a good day,
Sylvain.
> Le 9 avr. 2016 à 18:03, Ian Lepore <ian at freebsd.org> a écrit :
>
> On Fri, 2016-04-08 at 23:38 -0700, Russell Haley 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
>>
>
> I updated that wiki page to add the -E. Sometime soon I should also
> update it to mention that you can add a list of env vars to pass
> through using the sudoers config file.
>
> -- Ian
>
>> On Fri, Apr 8, 2016 at 7:46 PM, Emb Aud <embaudarm at 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 at freebsd.org mailing list
>>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
>>> To unsubscribe, send any mail to "
>>> freebsd-arm-unsubscribe at freebsd.org"
>> _______________________________________________
>> freebsd-arm at freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
>> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org
>> "
> _______________________________________________
> freebsd-arm at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
More information about the freebsd-arm
mailing list