gcc updating libraries

So I'm kinda new to programming. I haven't installed a lot of libraries yet.
I built TBB yesterday, and currently it is in /opt/tbb. There didn't appear to be any make install script so I just figured I'd put it in opt. What environment variable's or config files do I need to update so gcc can find it?
or is it better if I move it? Is it possible to just dump all the includes in to /usr/local/include?
closed account (o3hC5Di1)
Not entirely sure about this - but if the library files have .h and .cpp extensions you should probably put them in your projects folder.

You will probably also need to specify to your compiler that your are using these files, either in a direct file list or by telling it in what directory to look.

Sorry it's kind of vague, hopefully someone else can give you a better explication.

All the best,
NwN
Topic archived. No new replies allowed.