Article View: gnu.gcc.bug
Article #245Re: Odd behavior when '~' in include path
From: G|ran Uddeborg
Date: Wed, 08 Apr 1992 07:45
Date: Wed, 08 Apr 1992 07:45
8 lines
880 bytes
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!uddeborgReferences:
<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