I compile gcc-5.3 on my HOME directory on my centos server. The gcc version of system is 4.4.7. With newer version of gcc, I can use more libraries.
But here question came that how should I configure "Makefile.config" to make caffe compile well.
I added $gcc5.3-build-dir/include to the Makefile.config, but it will not work. I'm wondering where do gcc find its built-in headers from my gcc-5.3 build dir.
I have set environment variable PATH and LD_LIBRARY_PATH, but where do the compiler find the common headers, like 'stdlib.h', 'stdio.h' ?
Does anyone has such experience ?