🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #245

Re: Odd behavior when '~' in include path

#245
From: G|ran Uddeborg
Date: Wed, 08 Apr 1992 07:45
8 lines
880 bytes
In article <22536@dog.ee.lbl.gov> maze@bea.lbl.gov (Don R. Maszle) writes:
>        gcc -I~/include  ...      includes "*.h" files from /usr/include
>
>        gcc -Ifull-pathname ...   includes "*.h" files from ~/include

"~" is only expanded by the shell if it is the first character of a
word.  It has nothing to do with gcc.  Replace "gcc" with "echo" in
the commands above for an illustration.
Technical Details
Message-ID: <1992Apr8.074536.11538@sics.se>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!sisu.SE!uddeborg
References: <22536@dog.ee.lbl.gov>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!sisu.SE!uddeborg
From: uddeborg@sisu.SE (G|ran Uddeborg)
Subject: Re: Odd behavior when '~' in include path
Message-ID: <1992Apr8.074536.11538@sics.se>
Keywords: include path, -I, ~
Sender: gnulists@ai.mit.edu
Organization: Swedish Institute of Systems Development
References: <22536@dog.ee.lbl.gov>
Distribution: gnu
Date: Wed, 8 Apr 1992 07:45:36 GMT
Approved: bug-gcc@prep.ai.mit.edu
Lines: 9