Which ports to install to compile gnu binutils?
freebsd-questions-local at be-well.ilk.org
Fri Oct 16 20:11:39 UTC 2020
Christoph Kukulies <kuku at kukulies.org> 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
> 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
# 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 at 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.
More information about the freebsd-questions