I would like to change the directories where g++ searches for linked libraries permanently. Basically I want to add a few directories where third party libraries are to be found so that I don't have to use the -I every time I compile said programs. If this is possible to do, how is it done?
I'm building a small library. I want to have gcc automatically look in additional directories for header files and the like. That way I can refer to the packages as if they were normal packages without having to include and remember the full path name to each package and when I compile I do not have to include the -I /pathto3rdpartyhearder