bug-ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: building/running on cygwin?


From: Andreas Zeller
Subject: Re: building/running on cygwin?
Date: 12 Jan 2001 11:21:27 +0100
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)

Hi!

Kevin Hilman <khilman@equator.com> writes:

> I think I found the problem (but not the fix).
> 
> By manually setting 
> 
>   DDD_HOME=//c/cygwin/usr/local/share/ddd-3.2.95
> 
> it runs beautifully (from a DOS prompt or a cygwin bash prompt).  If I
> use any of these for DDD_HOME:
> 
>   /cygdrive/c/cygwin/usr/local/share/ddd-3.2.95
>   /usr/local/share/ddd-3.2.95
> 
> I get all the resource errors. [`^M' in resource values -AZ] This
> leads me to believe that resolvePath() in resolveP.C needs some
> tweaking for cygwin style paths.

I'd rather suppose that the way the path is specified has an influence
on whether files are opened in binary mode or in text mode.  (If I
recall it right, you can specify whether file systems are in `binary
mode' or in `non-binary mode').  Maybe this setting is different for
different paths.

There's also a CYGWIN (or CYGWIN32) environment variable which allows
you to change the way files are opened (look for `binmode' and
`nobinmode').  If you find that changing this setting has any
influence on DDD, I'll be glad to make an appropriate note in one of
the DDD README files.

Of course, if anyone can suggest fixes to the DDD source code such
that such workarounds are no longer necessary, I'll be happy to
implement them.

Greetings,

Andreas

-- 
Andreas Zeller     Universitaet Passau
                   http://www.fmi.uni-passau.de/st/staff/zeller/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]