Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <006301c0e360$0eec32e0$603d5c8c@angelo> From: "angelo" To: Subject: Bug for GCC of Cygwin distribution Date: Wed, 23 May 2001 16:12:05 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 I found a bug for GCC's (both 2.95.3-3 and 2.95.3-4) handling of the enviroment variable CPLUS_INCLUDE_PATH in Cygwin (both version 1.3.1 and version 1.3.2). Here's a simple test script which shows the bug. #! /bin/sh cat > vector << EOF yes_yes EOF cat > test.cpp << EOF #include EOF export CPLUS_INCLUDE_PATH=. if (gcc -E test.cpp | grep yes_yes); then echo CPLUS_INCLUDE_PATH works correctly else echo CPLUS_INCLUDE_PATH does not work correctly fi #end of shell script There's no such bug when I use Cygwin DLL 1.4.1 along with GCC 2.95.2.2. Huang-Ming Huang angelo AT iii DOT org DOT tw -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple