From: kh AT wg DOT icl DOT co DOT uk (Kevin Hughes) Subject: RE: egcs version of gcc - problems 21 Nov 1997 15:40:57 -0800 Message-ID: <01BCF654.E659ECB0.cygnus.gnu-win32@rodney.wg.icl.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8bit To: "'Kevin Hughes'" , "'g95'" -----Original Message----- From: Kevin Hughes [SMTP:kh AT wg DOT icl DOT co DOT uk] Sent: Thursday, November 20, 1997 9:51 AM To: 'g95' Subject: egcs version of gcc - problems I obtained the egcs version of gnu and installed it. Everything looked good but the compiler would not find the includes. After much investigation I have discovered that the compiler does not appear to look at the C_INCLUDE_PATH environment variable and hence fails to find the includes. It does use the CPLUS_INCLUDE_PATH [ I used the -v option to see what it was looking at] I installed the egcs version over the top of the standard one so its inbuilt spec. should have found the same includes as the old original gcc. Much confused Kevin - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help". After much investigation it turns out I was failing to set the CPLUS_INCLUDE_PATH prperly - it needs both the c++ includes AND the c includes hence I now have it set to /gnuwin32/b18/H-i386-cygwin32/i386-cygwin32/include:/gnuwin32/b18/include/g++ and it works fine (well it finds all its includes) Kevin - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".