c_include_path vs ld_library_path
On either Ubunutu 12.04 or Springdale 6.4, using gcc and g++, what's the difference between C_INCLUDE_PATH (or CPLUS_INCLUDE_PATH ) and LD_LIBRARY_PATH ? Is the LD one only used at run-time, and the other two only at compile-time? Since the INCLUDE and LIBRARY_PATH environment variables seem to be ignored by GCC on these operating systems, which should I set when constructing my ~/.bashrc file to make it as portable as possible (modulo changes in the actual paths) across modern Linux OSes? LD_LIBRARY_PATH is an environment variable which tells in which directories the dll loader should look