GCC Include Paths

2002-12-12 Thread Allan Crook
Help, We're trying to make GCC automatically search for required header files, unforunately if we use the C_INCLUDE_PATH environment variable or -I you need to enter every single search directory. For our current project this results in a line over 2000chars long (too long for windows or GCC to ha

Problems with GCC and C_INCLUDE_PATH

2002-12-12 Thread Allan Crook
I'm having problems with GCC and the C_INCLUDE_PATH, if i add the path to the command line with -Iw:\source then all is ok, but if I add the same path to the environment variable and remove the -I from the command line it just will not see the header file, whats wrong?? I get the following error: