This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Imakefile problem


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]