public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Grant Edwards <grante@visi.com>
To: Bart Veer <bartv@redhat.com>
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] CR's in build tree under Cygwin?
Date: Wed, 25 Oct 2000 07:18:00 -0000	[thread overview]
Message-ID: <20001025091822.A4938@visi.com> (raw)
In-Reply-To: <200010251243.e9PChpb06732@sheesh.cygnus>

On Wed, Oct 25, 2000 at 01:43:51PM +0100, Bart Veer wrote:

>     Grant> Do people usually have their build trees mounted in "text"
>     Grant> mode under Cygwin?
> 
>     Grant> [I had assumed that they should be mounted in binary mode
>     Grant> since the arm-elf tools built more easily that way...]
> 
> No. eCos build trees have to be on drives mounted in text mode. This
> is documented behaviour. The problem is that there are some files in
> the build tree, e.g. the ecos.ecc savefile, which users will want to
> edit. We cannot mandate cygwin-aware editors, e.g. some people might
> want to use notepad. Hence the files need to contain cr/lf pairs.

Thanks.  That's what I expected, but I wanted to make sure.  I must have
missed the mention of text mode in the docs.

> Work has been done on some of the tools, e.g. gcc and (I thought)
> make, so that they just ignore spurious carriage returns. 

It might not actually be make's fault. The last time I tracked down one of
these problems it turned out that a file included by a makefile was
generated by a shell-script, and the CR somehow confused the shell script
that generated that file.

> It is a shame that there are still operating systems out there which
> insist on using two characters to mark the end of a line. I believe
> Unix systems have managed with just a single character since 1969 or
> so.

I'm sure it all goes back to either something in DEC RSX-11 or something in
Gary Killdall's childhood.  ;)

-- 
Grant Edwards
grante@visi.com

      reply	other threads:[~2000-10-25  7:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-24 18:19 Grant Edwards
2000-10-24 18:58 ` Jonathan Larmour
2000-10-25  5:43 ` Bart Veer
2000-10-25  7:18   ` Grant Edwards [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20001025091822.A4938@visi.com \
    --to=grante@visi.com \
    --cc=bartv@redhat.com \
    --cc=ecos-discuss@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).