Hi,
i am using lang/gcc to compile a 3rd party library which depends on OpenGL (Irrlicht).
Since /usr/local/include and /usr/local/lib is not in the default search path, I have to enter the following commands so that gcc can find them:
I want to make these changes permanent. But where is the best place for this?
I've seen /etc/default/rc.conf but i think there's a better place.
i am using lang/gcc to compile a 3rd party library which depends on OpenGL (Irrlicht).
Since /usr/local/include and /usr/local/lib is not in the default search path, I have to enter the following commands so that gcc can find them:
export CPLUS_INCLUDE_PATH=/usr/local/include/:${CPLUS_INCLUDE_PATH}
export LIBRARY_PATH=/usr/local/lib/:${LIBRARY_PATH}
I want to make these changes permanent. But where is the best place for this?
I've seen /etc/default/rc.conf but i think there's a better place.