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
Message-ID: <013001bf8aa1$0399ebd0$6d298dc7@itc.nrcs.usda.gov>
From: "John Huddleston" <jhudd@itc.nrcs.usda.gov>
To: <earnie_boyd@yahoo.com>
Cc: <cygwin@sourceware.cygnus.com>
References: <20000310144926.2242.qmail@web108.yahoomail.com>
Subject: Re: Imakefile problem
Date: Fri, 10 Mar 2000 07:57:54 -0700
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300

Pretty much.  I built the GRASS5 system which had hundreds of
Imakefiles.   When there were cases of long lines that had the
backslash '\' in them to continue on the next line, the Carriage
Returns always caused the problem.   I wrote a simple C program
(yes I could have used tr) to remove CR's from the end of lines.
It always fixed the problem.

John

----- Original Message -----
From: Earnie Boyd <earnie_boyd@yahoo.com>
To: John Huddleston <jhudd@itc.nrcs.usda.gov>; Bobák_Csaba
<bobak@ekf.deltav.hu>
Cc: <cygwin@sourceware.cygnus.com>
Sent: Friday, March 10, 2000 7:49 AM
Subject: Re: Imakefile problem


--- John Huddleston <jhudd@itc.nrcs.usda.gov> wrote:
> Make sure that there are no CR (carriage returns) in the file.
>
> Also, make sure you have MAKE_MODE=unix set in your
> environment.  That should take care of it.
>

Are you sure?  It appears to be a quoting problem to me.  Is the version of
imake that Bobák is using a Cygwin or Non-Cygwin program.  If it Non-Cygwin
then it is definately a quoting problem and the fix would be to add two more
\"\" to the Makefile.

Earnie.

> John Huddleston
>
> ----- Original Message -----
> From: Bobák Csaba <bobak@ekf.deltav.hu>
> To: <cygwin@sourceware.cygnus.com>
> Sent: Thursday, March 09, 2000 11:36 PM
> Subject: Imakefile problem
>
>
> > Hello all,
> >
> > (It's a bit off-topic, I just don't know where to ask, sorry)
> >   I'm building a large-scaled UNIX application on cygwin-b20, no
> > snapshots. I have problems with Imakefiles that contain a line like
> > #define DEF2=\"$(DEF1)\"
> >   Imake complains about unterminated character strings (and some errors
> > caused by that, like unfinished #ifdef).
> >   Would anyone give me a hand? Thank you.
> >
> > Csaba
> >
> >
> > --
> > Want to unsubscribe from this list?
> > Send a message to cygwin-unsubscribe@sourceware.cygnus.com
>
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
>
>
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com


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

