svn commit: r421582 - head/base
Baptiste Daroussin
bapt at FreeBSD.org
Thu Sep 8 21:04:01 UTC 2016
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
More information about the svn-ports-head
mailing list