Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com Subject: Question about DOS text file To: cygwin@cygwin.com Message-ID: From: bchow@dlink.com Date: Thu, 25 Apr 2002 16:52:00 -0700 MIME-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g3PNrUc17684 The GCC version 2.95.3-5 come with cygwin version 1.3.10 as a package can compile C source file with DOS end-of-line character.  However, the GCC built by myself can not compile DOS C file correctly. Here is the C source file: 1   #define ABC                1,\ 2                              2,\ 3                              3 4 5   void main() 6   { 7   } If this C program is saved as a DOS text file, my GCC will complain about line 2.  If this C program is saved as a UNIX text file, compile is OK. It seems like my GCC compiler can not detect DOS end-of-line (CR/LF) because to the parser, "1,\LF" is different from "1,\CRLF". Is there any flag to set while building the GCC or any GCC options can handle the DOS text file format? Thanks Bernard -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/