Article View: comp.unix.shell
Article #4140setting C++_INCLUDE_PATH in bash
From: Adam Houston
Date: Thu, 06 Jan 1994 05:53
Date: Thu, 06 Jan 1994 05:53
17 lines
1510 bytes
1510 bytes
I need to set a shell variable named C++_INCLUDE_PATH in order to let
gcc find some c++ header files. However I am stuck on how to do this
as bash seems to choke on the '+' character in a shell variable. There
is no problem when leaving out the '+'. I have tried many combinations of
quoting the variable, using declare, etc. but it's not working.
I also couldn't find anything in the info pages about how to do this. I'm
trying this on a Linux box w/ bash version 1.12.1. Maybe I am just being dense.
Thanks,
adam
adhousto@ucsd.edu
--
----------------------------------------------------------------
"When Alexander surveyed the breadth of his domain, he wept, for
there were no more worlds to conquer."
-----------------
Technical Details
Message-ID:
<59001@sdcc12.ucsd.edu>Path:
arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!vixen.cso.uiuc.edu!sdd.hp.com!network.ucsd.edu!sdcc12!icogsci1!adhoustoShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,8f457e88ce31d525,start X-Google-Attributes: gid11318c,public X-Google-Thread: 1012a6,8f457e88ce31d525,start X-Google-Attributes: gid1012a6,public X-Google-ArrivalTime: 1994-01-05 21:59:47 PST Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!vixen.cso.uiuc.edu!sdd.hp.com!network.ucsd.edu!sdcc12!icogsci1!adhousto From: adhousto@icogsci1.ucsd.edu (Adam Houston) Newsgroups: comp.unix.shell,gnu.gcc.help Subject: setting C++_INCLUDE_PATH in bash Keywords: bash variable Message-ID: <59001@sdcc12.ucsd.edu> Date: 6 Jan 94 05:53:05 GMT Sender: news@sdcc12.ucsd.edu Followup-To: comp.unix.shell Lines: 17 Nntp-Posting-Host: icogsci1.ucsd.edu