Splint: Setting Environment Variables
Hello, everyone.
I have downloaded 'Splint', the GPL alternative to UNIX's 'lint' utility. I am including the installation instructions at the end of this message, because I have never set environment variables. My Google/Linux searches, as well as my searches of this Web site, have not provided any help. I had hoped that my copy of O'Reilly's excellent Running Linux (Fourth Edition) would prove to be helpful, but I remain in the dark. :study: Could someone please tell me, in simple terms, what I need to do to follow Step 4's instructions on setting environment variables? In addition, I want to make the changes permanent. Thank you very much, in advance! :) Cordially, David (SuSE Linux 8.2 Professional) -- http://ddickerson.igc.org/ Code:
URL: http://www.splint.org/linux.html |
you need pu them in your .bashrc or you .profile file
for eg setting PATH variable PATH=/usr/bin export PATH follow these with your variables |
using manthram's approach (and assuming you use bash) you'll then need to either "source .bashrc" or start a new shell session. the same thing can be done with "export LARCH_PATH=<the directory in question>" in your current shell. if export doesn't work (eg if you don't use bash), try "setenv LARCH_PATH <whatever>" instead. since this is something you only need setup for the compile, it probably makes more sense not muck with the bashrc
|
Hello, manthram and 0x4B.
Thank you both for your replies. I am indeed using the 'bash' shell. I will give your suggestions a try and let you know if I run into any problems. Thanks, again! Cordially, David -- http://ddickerson.igc.org/ P.S. -- It's nice to see another Nashvillian in the forums! :) |
All times are GMT -5. The time now is 08:33 PM. |