simple g++ library path question
I don't program that often, but last time I used g++ in RedHat 7.2, I remember it working fine for my simple programs.
I'm now sitting at RedHat 9, and it complains about missing basic identifiers such as cout and endl, from iostream, which I am including.
I'm guessing that the LIBRARY_PATH needs to be configured properly, but I wasn't sure about some details.
1. Is the LIBRARY_PATH environment variable the best way to handle this?
2. Is it recursive? i.e. if I add "/usr/include", will things in "/usr/include/g++-3" also get found?
3. Any ideas why g++ or the library path wouldn't be set to these locations by default?
Thanks.
|