K
knguyen
Hello,
I am new with C++.
I am struggling with setting path to a shared object. Currently, I
have to use
g++ /usr/local/lib/sharedObject.so file.cpp
in order to compile.
I wonder if there is a way for me to set a path to /usr/local/lib/
sharedObject.so so that I dont have to include the path everytime I
compile. I have played around with .bashrc, yet no luck
I am using Ubuntu 7.10 if it helps.
Thanks
-k
I am new with C++.
I am struggling with setting path to a shared object. Currently, I
have to use
g++ /usr/local/lib/sharedObject.so file.cpp
in order to compile.
I wonder if there is a way for me to set a path to /usr/local/lib/
sharedObject.so so that I dont have to include the path everytime I
compile. I have played around with .bashrc, yet no luck
I am using Ubuntu 7.10 if it helps.
Thanks
-k