NetBSD Problem Report #18290

Received: (qmail 23919 invoked by uid 605); 14 Sep 2002 16:54:40 -0000
Message-Id: <20020914165438.B0CCF7DAE@yeah-baby.shagadelic.org>
Date: Sat, 14 Sep 2002 09:54:38 -0700 (PDT)
From: thorpej@NetBSD.org
Sender: gnats-bugs-owner@netbsd.org
Reply-To: thorpej@NetBSD.org
To: gnats-bugs@gnats.netbsd.org
Subject: lint has no lib equivalent of -d includedir
X-Send-Pr-Version: 3.95

>Number:         18290
>Category:       toolchain
>Synopsis:       lint has no lib equivalent of -d includedir
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 14 16:55:01 +0000 2002
>Closed-Date:    Sat May 07 21:43:23 +0000 2022
>Last-Modified:  Sat May 07 21:43:23 +0000 2022
>Originator:     Jason R Thorpe
>Release:        NetBSD 1.6D
>Organization:
Wasabi Systems, Inc.
>Environment:


System: NetBSD yeah-baby.shagadelic.org 1.6D NetBSD 1.6D (YEAH-BABY-XP) #10: Wed Jul 10 11:36:52 PDT 2002 thorpej@yeah-baby.shagadelic.org:/u1/netbsd/src/sys/arch/i386/compile/YEAH-BABY-XP i386
Architecture: i386
Machine: i386
>Description:
	The -d option to lint specifies the place to look for includes
	other than the standard /usr/include.

	There is no such equivalent option for libs.  There needs to be.

>How-To-Repeat:

>Fix:
	Not yet provided.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: mrg 
State-Changed-When: Fri Apr 2 09:10:38 UTC 2004 
State-Changed-Why:  
it seems that "lint -L <dir>" does this?  and has for a while? 
State-Changed-From-To: feedback->open
State-Changed-By: thorpej@netbsd.org
State-Changed-When: Fri, 20 May 2005 22:54:54 +0000
State-Changed-Why:
No, -L adds directories to the search path.  -d for includes REPLACES
/usr/include, like -nostdinc would for the compiler.


State-Changed-From-To: open->feedback
State-Changed-By: rillig@NetBSD.org
State-Changed-When: Mon, 07 Feb 2022 22:15:56 +0000
State-Changed-Why:
Why do you need this option?  According to xlint/xlint.c, the library
search path is initially empty, and as long as the option '-o' is not
given, is only filled by the option '-L', so it seems to me that the
library search path is under full control of the user.


State-Changed-From-To: feedback->closed
State-Changed-By: rillig@NetBSD.org
State-Changed-When: Sat, 07 May 2022 21:43:23 +0000
State-Changed-Why:
Feedback timeout.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.