Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263990AbTFIDiL (ORCPT ); Sun, 8 Jun 2003 23:38:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264046AbTFIDiK (ORCPT ); Sun, 8 Jun 2003 23:38:10 -0400 Received: from neon-gw-l3.transmeta.com ([63.209.4.196]:45319 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id S263990AbTFIDiJ (ORCPT ); Sun, 8 Jun 2003 23:38:09 -0400 To: linux-kernel@vger.kernel.org From: "H. Peter Anvin" Subject: Re: [PATCH][SPARSE] Runtime detection of gcc include paths Date: 8 Jun 2003 20:51:18 -0700 Organization: Transmeta Corporation, Santa Clara CA Message-ID: References: <20030609011128.GI20872@michonline.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Disclaimer: Not speaking for Transmeta in any way, shape, or form. Copyright: Copyright 2003 H. Peter Anvin - All Rights Reserved Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1318 Lines: 34 Followup to: By author: Linus Torvalds In newsgroup: linux.dev.kernel > > On Sun, 8 Jun 2003, Ryan Anderson wrote: > > > > This uses the same method as previously was used, it just performs the > > lookup at runtime. > > I much prefer a compile-time thing. > > Performance is, to me, paramount for "checker". I don't want to slow it > down, I'm hoping that some day we can just enable C=1 by default in the > kernel build (this is a _long_ time off, though, don't you all start > worrying now). > > I don't see anything wrong with a compile/install time thing, that is, > after all, how gcc too works. > Both of these seem a little unnecessary. Why not pass this stuff on the command line, and have the top-level Makefile extract the paths into a command-line argument? -hpa -- at work, in private! "Unix gives you enough rope to shoot yourself in the foot." Architectures needed: ia64 m68k mips64 ppc ppc64 s390 s390x sh v850 x86-64 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/