Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
From: Chris Faylor <cgf@cygnus.com>
Date: Sun, 18 Jun 2000 21:09:03 -0400
To: cygwin@sourceware.cygnus.com
Cc: danielbermudez@earthlink.net
Subject: Re: Bad CPP.EXE on GCC 2.95.2 ??
Message-ID: <20000618210903.A10537@cygnus.com>
Reply-To: cygwin@sourceware.cygnus.com
Mail-Followup-To: cygwin@sourceware.cygnus.com,
	danielbermudez@earthlink.net
References: <000801bfd989$f3080800$fd01a8c0@Default>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <000801bfd989$f3080800$fd01a8c0@Default>; from danielbermudez@earthlink.net on Sun, Jun 18, 2000 at 08:01:41PM -0500

On Sun, Jun 18, 2000 at 08:01:41PM -0500, Daniel G. Bermudez wrote:
>Just recently reinstalled Win98 on my system, which is sort of a ritual
>or sorts, and while running Cygwin's 'gcc' compiler after reinstalling
>(with gcc's version 2.95.2-1 ) I did find that 'cpp' return this ugly
>message on code that has compiled before without problems!

You probably have CRLF line endings!

Either eliminate them or mount the directory in question as "text-mode",
Also make sure that you are running the cygwin 1.1.2 DLL.

For information on the mount command and text mode in general, check out
the documentation at the project web site:

http://sourceware.cygnus.com/cygwin/

cgf

>BASH.EXE-2.04$ gcc -o runthis adamklist.c
>adamklist.c:1: `#include' expects "FILENAME" or <FILENAME>
>
>...omitting the header on the file and the content below, these are the offending lines;
>
>/*
> */
>
>#include <stdlib.h>
>#include <stdio.h>
>#include <math.h>
>#include <string.h>
>#include <sys/types.h>
>#include <sys/param.h>
>#include <unistd.h>
>#include <mingw32/dir.h>
>/*#include <regexpr.h>*/
>
>#define TRUE 1
>
>I'd tried reinstalling gcc using the 'setup gcc' command, but exactly
>the same thing! What are your suggestions??

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

