From owner-freebsd-arm@freebsd.org Tue Apr 12 04:16:29 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 AB6FBB0D090 for ; Tue, 12 Apr 2016 04:16:29 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-ig0-x235.google.com (mail-ig0-x235.google.com [IPv6:2607:f8b0:4001:c05::235]) (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 739581768 for ; Tue, 12 Apr 2016 04:16:29 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-ig0-x235.google.com with SMTP id kb1so98665697igb.0 for ; Mon, 11 Apr 2016 21:16:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc; bh=Y4tH/oFUOywus0vgTaAb6uS1xpPqUaVMe0zH47ltf9I=; b=ksjKC5pU7FcAerOGGeciFii9n6dKIIRayWEIORNpVxYX0hzickVJqSeDON0Ew/8Wum tkeeyvhMghA3aIyu5vc8USxeqJzNknPHE8nPFEQW+e8x75g+b/Fm51+Y/okBGtcDP6m6 BdsgOYboQE5/c8DnBicDcpInhqXSzPk9ylgOeHc7Ri/LblVqP4k40bQ9sbaFGjfewlQc 5j/gqF0zRPJIwnVgy4Lrnjc0J2i/FGTRquj+u1M5BGMNZ8dSckbOFJs4vVQNol1HrEsp Px2pHDP7L6mmcKQeo+8AeWSgwnv1NkmxOhvzmG4uK2BkmiGYzEuWwzoVKdwDRrkYEIl/ INtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc; bh=Y4tH/oFUOywus0vgTaAb6uS1xpPqUaVMe0zH47ltf9I=; b=egt6NyOcjdm8dHC+LwfFgCl4NkVtyA30GApnVWyzQsyRXHqYkPvZDkUIk9x8OmuHj3 +Y6j0DGs5SMpLnAcxZBhLVs9mD+jfNts/poZvoVpIrwF03RL6OHOUCNrCfAFK808vEEe GOKQnuPjRGpMh2FGKbHepWwubnsKQYz5A3fHM9mg/PpmqIqqpP0sBEN9KwxypMO05Mf7 GwdJRSi6kuxgvMfhPx+MPMnmWJ8dHo6iGbWkCGENmmsaWzlF+Tq3TYB1gxfAGZb1GP3L Apc8Hj99/TUI9WlP/UAZD2XobGZLIEI2DqAQrrz8NOOw/Rb3XytmDhabyFSIdtj1PX62 34OA== X-Gm-Message-State: AD7BkJI9o0/G3uzH+lyZ6h91F1VYUf5qa0kiYhuqDIydT/6rNFfS49iGKtIDW0E+CH5He0DDQDxsTudOO2ZGXQ== MIME-Version: 1.0 X-Received: by 10.50.50.176 with SMTP id d16mr21687779igo.57.1460434588830; Mon, 11 Apr 2016 21:16:28 -0700 (PDT) Sender: wlosh@bsdimp.com Received: by 10.36.194.3 with HTTP; Mon, 11 Apr 2016 21:16:28 -0700 (PDT) X-Originating-IP: [50.253.99.174] In-Reply-To: References: Date: Mon, 11 Apr 2016 22:16:28 -0600 X-Google-Sender-Auth: bnTiTxt4ELf94jLf8WuWmBSCFsY Message-ID: Subject: Re: Can't installworld for arm -- cc: not found From: Warner Losh To: Emb Aud Cc: Russell Haley , freebsd-arm Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 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: Tue, 12 Apr 2016 04:16:29 -0000 I plan on making the cut over later this week. Warner On Sat, Apr 9, 2016 at 9:13 PM, Emb Aud 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 > 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 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" >