From owner-freebsd-arm@freebsd.org Sat Apr 9 16:13:30 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A222BB09DB3 for ; Sat, 9 Apr 2016 16:13:30 +0000 (UTC) (envelope-from sylgar@gmail.com) Received: from mail-wm0-x22e.google.com (mail-wm0-x22e.google.com [IPv6:2a00:1450:400c:c09::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 361DD151A; Sat, 9 Apr 2016 16:13:30 +0000 (UTC) (envelope-from sylgar@gmail.com) Received: by mail-wm0-x22e.google.com with SMTP id l6so96703604wml.1; Sat, 09 Apr 2016 09:13:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=/5FL664eLmQJugsdyVBrn5TO3X3PD9Ap0menjVOFMws=; b=dw6p4tPTFg36WZ1F+BWej/WGFjSD7WMb+ECGPxuAPtSJawdH5Z8xC5De6h2kz0Xte8 B0G9864rsJ2GWqluSuabu0PTM1Sg4720BcOdDodKwPN8YwctwE45n+ANC4FWAuf0Fe4S tvl50YoCT7bU17SZPZ/irS/wDNi/DBH12p9CRMTY7Zwp7+MszKD/VlMWcFx2pD9uafZ5 5On/AKt0s/5sAUxE2BHWKc20jmULZCCMD/dK1LNVWhcu5jYXpg6BjkLi48QUyyaZTY7f E8d91t8am1Le+1aTmtJFW+9sSHtANlrQUiUf9sVJTcWODoVaRIGB13J7OdY5BEBmrtBJ oQbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=/5FL664eLmQJugsdyVBrn5TO3X3PD9Ap0menjVOFMws=; b=VmRGoCpMZ6mfKZo7GJnkmM0qZ1I5TqO4yPy4Ybh9BPnSlbEY/X0uY5C71qTJNTeEaf YfIgNt9/WNPJIQDb+lHr92vidYrB/O0fwl7Wty62BAg3GiY9CVXiXpZyDI9J2TzX5gg8 6WFTXoqLnvWNcZZyqpxU19AX3iaPcSs6/xkIpSTIsAsFtyS9yNYYA3QNhcDwxjvwRJ45 DZauJZOLy6AOzRqo+gR8rQsqgaYUys21Ub8XeIlJ2Jfkct5kH+ZKjPyYSbjG+TON4sBF YJp242jYXA+QRVxaENc2TpC9RM4i82sFoBWfGzlIbb0A8+H0F/0uTceU2cudMI+8czoY 5h7g== X-Gm-Message-State: AD7BkJIpk4PA3ot0EUeCTj8GY9o7Ug+f3qU3hkF3PF1IfumeGGR906kciD9RlqxEXKdbWg== X-Received: by 10.194.192.106 with SMTP id hf10mr14660392wjc.134.1460218407565; Sat, 09 Apr 2016 09:13:27 -0700 (PDT) Received: from [192.168.0.11] (plr75-1-82-226-218-68.fbx.proxad.net. [82.226.218.68]) by smtp.gmail.com with ESMTPSA id m6sm18738964wje.21.2016.04.09.09.13.26 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 09 Apr 2016 09:13:26 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Can't installworld for arm -- cc: not found From: Sylvain Garrigues In-Reply-To: <1460217833.1091.326.camel@freebsd.org> Date: Sat, 9 Apr 2016 18:13:25 +0200 Cc: Russell Haley , Emb Aud , freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: <0FE5C8DC-83CB-4206-AB3F-1CE28A612098@gmail.com> References: <1460217833.1091.326.camel@freebsd.org> To: Ian Lepore X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Apr 2016 16:13:30 -0000 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=E2=80=99s FTP server for instance? Any sort of planning in mind for the =C2=AB deprecation =C2=BB? Thank you very much and have a good day, Sylvain. > Le 9 avr. 2016 =C3=A0 18:03, Ian Lepore a =C3=A9crit = : >=20 > 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). >>=20 >> Command Line: >> sudo -E make installworld blah blah blah >>=20 >> In the mk Script: >> ... mk_sudo=3D"sudo -E";; >>=20 >> Hope that helps, >>=20 >> Russ >>=20 >=20 > 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. >=20 > -- Ian >=20 >> On Fri, Apr 8, 2016 at 7:46 PM, Emb Aud wrote: >>> Hi Everyone. >>>=20 >>> 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. >>>=20 >>> I tried to follow the instructions here to build everything: >>> https://wiki.freebsd.org/FreeBSD/arm/crossbuild >>>=20 >>> buildworld runs just fine, but installworld fails immediately with >>> an >>> error: >>>=20 >>> 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. >>>=20 >>> I think this may be due to a lack of a "src.conf" file.=20 >>> Unfortunately I >>> have no idea what to put in that file. >>>=20 >>> Can anyone give me a clue or two about how to get past this >>> problem? >>>=20 >>> My config for the mk utility (see the link above) is: >>>=20 >>> mk_arch=3D"armv6" >>> mk_insdir=3D"$(pwd)/nfsroot" >>> mk_jobs=3D"$(sysctl -n hw.ncpu)" >>> mk_kernel=3D"ZEDBOARD" >>> mk_makeconf=3D"$(pwd)/config/make.conf" >>> mk_mkargs=3D"" >>> mk_nice=3D"nice -10" >>> mk_objdir=3D"$(pwd)/obj" >>> mk_srcconf=3D"$(pwd)/config/src.conf" >>> mk_srcdir=3D"$(pwd)/src" >>> mk_ubldraddr=3D"0x0" >>>=20 >>> 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 >> " > _______________________________________________ > 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"