From owner-svn-ports-head@freebsd.org Thu Sep 8 21:04:01 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5339DBD0FA6; Thu, 8 Sep 2016 21:04:01 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 262DDD95; Thu, 8 Sep 2016 21:04:01 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u88L40ss024912; Thu, 8 Sep 2016 21:04:00 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u88L400v024911; Thu, 8 Sep 2016 21:04:00 GMT (envelope-from bapt@FreeBSD.org) Message-Id: <201609082104.u88L400v024911@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f From: Baptiste Daroussin Date: Thu, 8 Sep 2016 21:04:00 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r421582 - head/base X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Sep 2016 21:04:01 -0000 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