Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Sep 2016 21:04:00 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r421582 - head/base
Message-ID:  <201609082104.u88L400v024911@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu Sep  8 21:04:00 2016
New Revision: 421582
URL: https://svnweb.freebsd.org/changeset/ports/421582

Log:
  Update the README to include how to cross build gcc
  
  Also add instructions on how to add the plist for other arches in binutils

Modified:
  head/base/README

Modified: head/base/README
==============================================================================
--- head/base/README	Thu Sep  8 20:55:19 2016	(r421581)
+++ head/base/README	Thu Sep  8 21:04:00 2016	(r421582)
@@ -16,3 +16,15 @@ make CROSS_TOOLCHAIN=sparc64-gcc TARGET=
 4/ build the required port
 $ cd base/binutils
 make CROSS_TOOLCHAIN=sparc64-gcc CROSS_SYSROOT=/sysroots/sparc64 package
+
+$ cd base/gcc
+make CROSS_TOOLCHAIN=sparc64-gcc CROSS_SYSROOT=/sysroots/sparc64 package
+
+the package are in base/gcc/work/pkg/*.txz and base/binutils/work/pkg/*.txz
+
+To add a plist for a new binutils target
+$ cd base/binutils
+make CROSS_TOOLCHAIN=sparc64-gcc CROSS_SYSROOT=/sysroots/sparc64 makeplist > pkg-plist
+
+edit the pkg-plist and remove everything which base does not provide via the
+elftoolchain



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609082104.u88L400v024911>