Question about the snavigator compliation under win98
Randall R Schulz
Mon Mar 18 11:50:00 GMT 2002
I think you've got it backward. A Unix-mode mount (a.k.a. "binmode") causes
the Cygwin "kernel" (cygwin1.dll) _not_ to alter file contents during I/O
operations, so when a Cygwin program writes a single newline to a file,
that's what goes into the file. With a text-mode mount, the Cygwin
emulation layer must perform the translation. Naturally, the reverse occurs
I don't want to impose that translation because of the performance penalty
of applying a ubiquitous (and non-in-place) transformation on all text I/O
that happens within Cygwin, which is where I do all my Windows-based
It seems to me that the onus of providing a compatible version of any given
piece of software should be on the author or porter, not the user.
Mountain View, CA USA
At 11:01 2002-03-18, Wally Kramer wrote:
>As far as we can tell, using "dos mode" instead of "unix mode" only
>affects the Cygwin as to (respectively) translate CF/LF into LF when
>accessed by the Cygwin utilities--or not. That is, dos mode makes the
>cygwin implied file system mounts "textmode" instead of "binarymode".
>Doing this should not threaten one's purity, wholesomeness or faith. But
>it does allow source navigator's "configure" to detect the presence of
>MSVC++, various header files, library functions, etc.
>Theoretically, one could set default options for grep, flex, etc. to
>accomplish the same thing, but this is significantly harder than just
>setting the filesystem to textmode. Why *wouldn't* you want to do that?
>From: Randall R Schulz [mailto:firstname.lastname@example.org]
>Sent: Monday, 18 March 2002 09:09
>To: Bruce Edson; Wu Fan; email@example.com
>Subject: RE: Question about the snavigator compliation under win98
>Many Cygwin users are going to be unwilling to use "DOS-mode" mounts (I
>know I am).
>Perhaps these grep options would help (from the output of "grep --help"):
> -U, --binary do not strip CR characters at EOL (MSDOS)
> -u, --unix-byte-offsets report offsets as if CRs were not there (MSDOS)
>Mountain View, CA USA
>At 08:20 2002-03-18, Bruce Edson wrote:
> >Having just run across a similar problem, what we found was that the
> >install of Cygwin needs to have the default text file type set as
> >'DOS'. If you left it set to 'UNIX', the grep utility works incorrectly
> >when interpreting eol characters in DOS.
> >-----Original Message-----
> >From: Wu Fan [mailto:firstname.lastname@example.org]
> >Sent: Monday, March 18, 2002 1:46 AM
> >To: email@example.com
> >Subject: Question about the snavigator compliation under win98
> >Dear supporter:
> >I am trying to compile the source navigator under win98 platform, according
> >to the readme file, would you mail me the
> > rational build instructions.
> >Actually, I have tried many times under win98, it is always cann't found my
> >VC6, I have this kind of environment:
> >During it execute the .../snavigator/source/db/configure
> >It will report :
> >"Checking for the Microsoft VC++ ..." no
> >Any comments is highly appreciated!!
> >Wu Fan
More information about the Sourcenav