From owner-freebsd-questions@freebsd.org Fri Oct 16 20:11:39 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 21AC343E9D0 for ; Fri, 16 Oct 2020 20:11:39 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id 4CCck23FfBz471V for ; Fri, 16 Oct 2020 20:11:38 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from lowell-desk.be-well.ilk.org (router.lan [172.30.250.2]) by be-well.ilk.org (Postfix) with ESMTP id DBF5E33C06; Fri, 16 Oct 2020 16:11:25 -0400 (EDT) Received: by lowell-desk.be-well.ilk.org (Postfix, from userid 1147) id CC40416323B5; Fri, 16 Oct 2020 16:11:24 -0400 (EDT) From: Lowell Gilbert To: Christoph Kukulies Cc: Doug McIntyre , RW via freebsd-questions Subject: Re: Which ports to install to compile gnu binutils? References: <283908A2-7765-450B-9746-D51FF58C99B2@kukulies.org> <20201015214755.GB26691@geeks.org> <2F004468-03AA-4F02-9367-1A963F69ED38@kukulies.org> Reply-To: freebsd-questions@freebsd.org Date: Fri, 16 Oct 2020 16:11:24 -0400 In-Reply-To: <2F004468-03AA-4F02-9367-1A963F69ED38@kukulies.org> (Christoph Kukulies's message of "Fri, 16 Oct 2020 09:17:09 +0200") Message-ID: <448sc6szgz.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 4CCck23FfBz471V X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd-questions-local@be-well.ilk.org has no SPF policy when checking 23.30.133.173) smtp.mailfrom=freebsd-questions-local@be-well.ilk.org X-Spamd-Result: default: False [2.24 / 15.00]; HAS_REPLYTO(0.00)[freebsd-questions@freebsd.org]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.40)[0.396]; NEURAL_HAM_LONG(-0.35)[-0.355]; MIME_GOOD(-0.10)[text/plain]; SUBJECT_ENDS_QUESTION(1.00)[]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; AUTH_NA(1.00)[]; DMARC_NA(0.00)[ilk.org]; NEURAL_SPAM_MEDIUM(0.20)[0.197]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; R_SPF_NA(0.00)[no SPF record]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:7922, ipnet:23.30.0.0/15, country:US]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Oct 2020 20:11:39 -0000 Christoph Kukulies writes: > Thanks. I gave up resp. I abandoned. It is too difficult (to me at least) to figure out, how > to configure binutils to build > gcc-arm-none-eabi-4_9-2015q1-20150306-src.tar.bz2 > > (md5 > ) > from it. Do you need that specific version? If not, the devel/binutils port with the arm-none-eabi flavor will build it for you. I can't find the user documentation for using flavors at the moment, but # make -C /usr/ports/devel/binutils FLAVOR=arm_none_eabi install should do it, or the equivalent for your build system (e.g. # portmaster devel/binutils@arm_none_eabi will also work). If you do need the specific version, then the (some would say optional) first step is to badmouth the person forcing you to use a specific old version. After you've done that, you can either change the port or build it by hand. Both are fairly simple: the first involves changing the tarfile name in the Makefile and distinfo, while the second involves unpacking the tarball and following the README instructions, which will generally lead you to a 2-line command invocation. Good luck.