public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Imakefile problem
@ 2000-03-09 22:37 Bobák Csaba
  2000-03-10  5:58 ` John Huddleston
  0 siblings, 1 reply; 4+ messages in thread
From: Bobák Csaba @ 2000-03-09 22:37 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Imakefile problem
  2000-03-09 22:37 Imakefile problem Bobák Csaba
@ 2000-03-10  5:58 ` John Huddleston
  0 siblings, 0 replies; 4+ messages in thread
From: John Huddleston @ 2000-03-10  5:58 UTC (permalink / raw)
  To: Bobák Csaba; +Cc: cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 975 bytes --]

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.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Imakefile problem
  2000-03-10  6:49 Earnie Boyd
@ 2000-03-10  6:59 ` John Huddleston
  0 siblings, 0 replies; 4+ messages in thread
From: John Huddleston @ 2000-03-10  6:59 UTC (permalink / raw)
  To: earnie_boyd; +Cc: cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2212 bytes --]

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Imakefile problem
@ 2000-03-10  6:49 Earnie Boyd
  2000-03-10  6:59 ` John Huddleston
  0 siblings, 1 reply; 4+ messages in thread
From: Earnie Boyd @ 2000-03-10  6:49 UTC (permalink / raw)
  To: John Huddleston, Bobák_Csaba; +Cc: cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1605 bytes --]

--- 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-03-10  6:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-03-09 22:37 Imakefile problem Bobák Csaba
2000-03-10  5:58 ` John Huddleston
2000-03-10  6:49 Earnie Boyd
2000-03-10  6:59 ` John Huddleston

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).