Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Oct 2020 16:11:24 -0400
From:      Lowell Gilbert <>
To:        Christoph Kukulies <>
Cc:        Doug McIntyre <>,  RW via freebsd-questions <>
Subject:   Re: Which ports to install to compile gnu binutils?
Message-ID:  <>
In-Reply-To: <> (Christoph Kukulies's message of "Fri, 16 Oct 2020 09:17:09 +0200")
References:  <> <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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.

Want to link to this message? Use this URL: <>