From owner-svn-doc-head@freebsd.org Tue Oct 8 07:46:18 2019 Return-Path: Delivered-To: svn-doc-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BD3E813D324; Tue, 8 Oct 2019 07:46:18 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46nTtf4Zkrz4Wr3; Tue, 8 Oct 2019 07:46:18 +0000 (UTC) (envelope-from linimon@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7C2C724C1E; Tue, 8 Oct 2019 07:46:18 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x987kIxb093393; Tue, 8 Oct 2019 07:46:18 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x987kIir093392; Tue, 8 Oct 2019 07:46:18 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201910080746.x987kIir093392@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Tue, 8 Oct 2019 07:46:18 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r53471 - head/en_US.ISO8859-1/books/porters-handbook/porting-dads X-SVN-Group: doc-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: head/en_US.ISO8859-1/books/porters-handbook/porting-dads X-SVN-Commit-Revision: 53471 X-SVN-Commit-Repository: doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the doc tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Oct 2019 07:46:18 -0000 Author: linimon Date: Tue Oct 8 07:46:18 2019 New Revision: 53471 URL: https://svnweb.freebsd.org/changeset/doc/53471 Log: Add a sect2 for "General Notes on Architectures". I had assumed that everyone was aware of these considerations, but, based on a conversation on ports-svn-commits, this is not the case. This text does not change policy; it merely documents existing technology. Modified: head/en_US.ISO8859-1/books/porters-handbook/porting-dads/chapter.xml Modified: head/en_US.ISO8859-1/books/porters-handbook/porting-dads/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/porting-dads/chapter.xml Tue Oct 8 06:48:45 2019 (r53470) +++ head/en_US.ISO8859-1/books/porters-handbook/porting-dads/chapter.xml Tue Oct 8 07:46:18 2019 (r53471) @@ -520,6 +520,26 @@ cc -o someprogram source1.o source2.o -L/usr/local/lib Architectural Considerations + + General Notes on Architectures + + &os; runs on many more processor architectures than + just the well-known x86-based ones. Some ports have + constraints which are particular to one or more of these + architectures. + + For the list of supported architectures, run: + + cd ${SRCDIR}; make targets + + The values are shown in the form + TARGET/TARGET_ARCH. + The ports read-only makevar ARCH is set + based on the value of TARGET_ARCH. + Port Makefiles should test the value + of this Makevar. + + Marking a Port as Architecture Neutral