From owner-freebsd-current Tue Oct 1 23:54:11 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A663437B401 for ; Tue, 1 Oct 2002 23:54:10 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3DE743E7B for ; Tue, 1 Oct 2002 23:54:09 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id QAA18315; Wed, 2 Oct 2002 16:54:03 +1000 Date: Wed, 2 Oct 2002 17:03:35 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Pete Carah Cc: current@FreeBSD.ORG Subject: Re: Tool make ordering, or something In-Reply-To: <200210020537.g925bQB1092943@ns.altadena.net> Message-ID: <20021002165618.R4432-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 1 Oct 2002, Pete Carah wrote: > There is a 't' modifier to a format in bin/sh that just crept in; > it prevents a cross buildworld under stable without NO_WERROR. > > Perhaps the compiler+libc needs to be built first? (and does sh > need to be a build tool; I'd hope the make scripts stuck to a > fairly least-common-denominator shell syntax?) Only some internal bootstrap utilities for sh are built because sh is a build-tool. It is these utility that need to be portable and not use new features like %t. $ grep %t /usr/src/bin/sh/* /usr/src/bin/sh/arith.y:%token ARITH_NUM ARITH_LPAREN ARITH_RPAREN /usr/src/bin/sh/jobs.c: fmtstr(s, 64, "[%td] ", jp - jobtab + 1); /usr/src/bin/sh/mksyntax.c: fprintf(cfile, " %td,\n", p - digit); ^^^^^^^^^^ bootstrap utility ^^ unportable Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message