Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Oct 2020 16:36:05 +0100
From:      Jessica Clarke <jrtc27@debian.org>
To:        Kyle Evans <kevans@FreeBSD.org>
Cc:        src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r366766 - head
Message-ID:  <EDDD8A3D-9C5F-4B30-AE44-C5122DCE5EDC@debian.org>
In-Reply-To: <202010161516.09GFGNUI015980@repo.freebsd.org>
References:  <202010161516.09GFGNUI015980@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 16 Oct 2020, at 16:16, Kyle Evans <kevans@FreeBSD.org> wrote:
>=20
> Author: kevans
> Date: Fri Oct 16 15:16:23 2020
> New Revision: 366766
> URL: https://svnweb.freebsd.org/changeset/base/366766
>=20
> Log:
>  Makefile: add a small blurb about building with gcc xtoolchain
>=20
>  The key details are to install the appropriate flavor of =
devel/freebsd-gcc9
>  and pass CROSS_TOOLCHAIN while building.
>=20
>  Suggested by:	kib
>=20
> Modified:
>  head/Makefile
>=20
> Modified: head/Makefile
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
> --- head/Makefile	Fri Oct 16 14:28:13 2020	(r366765)
> +++ head/Makefile	Fri Oct 16 15:16:23 2020	(r366766)
> @@ -89,6 +89,15 @@
> # 10.  `reboot'
> # 11.  `make delete-old-libs' (in case no 3rd party program uses them =
anymore)
> #
> +# For individuals wanting to build from source with GCC from ports, =
first build
> +# or install an appropriate flavor of devel/freebsd-gcc9.  The =
packages produced
> +# by this port are named "${TARGET_ARCH}-gcc9" -- note that not all
> +# architectures supported by FreeBSD have an external gcc toolchain =
available.
> +#
> +# Once the appropriate freebsd-gcc package is installed, simply pass
> +# CROSS_TOOLCHAIN=3D${TARGET_ARCH}-gcc9 while building with the above =
steps,
> +# e.g., `make buildworld CROSS_TOOLCHAIN=3Damd64-gcc9`.

Given GCC 10 is the latest GCC release so this is already a bit
outdated (though perhaps GCC 9 is still the recommended version for
FreeBSD now?), should this not avoid hard-coding a specific version and
thus s/9/N/ (or X)?

Jess




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EDDD8A3D-9C5F-4B30-AE44-C5122DCE5EDC>