delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/10/14/11:34:22

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <19991014153548.17490.rocketmail@web106.yahoomail.com>
Date: Thu, 14 Oct 1999 08:35:48 -0700 (PDT)
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: earnie_boyd AT yahoo DOT com
Subject: RE: compilation problems
To: Cal Thorne <ct AT rmorton DOT com>, "'Jean Michel Cirba'" <jmcirba AT cella DOT fr>,
"'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
MIME-Version: 1.0

--- Cal Thorne <ct AT rmorton DOT com> wrote:
> I just realized that I might not have explained the real problem very well.
> I've seen the problem come up in the following example.
> 
> I ftp my source&makefiles from Unix to my Win PC.  The ftp program does a
> converion on the text files to make them compatible with DOS (which means
> changing a cr to a cr+lf).  [someone please correct me if I don't have that
> right]  So then, under Cygwin, I tar.gz my whole source tree and ftp it to
> another Unix box (yes, I've done this, please don't give me a hard time
> about it ;).  That transfer is done in Binary mode...no conversions done.
> If I try to make the program at this point, I'll get the same "missing
> seperator" message (same message I get if GNU make is not in my path before
> the native make).  Anyway, opening the file in vi reveals a '^M' at the end
> of each line...aparently this is the extraneous LF from DOS.  So I solve the
> problem by ftp'ing each text file individually in text mode if I go from
> Unix to DOS.

The simple "fix" is to set binary mode in the ftp client on the windows side. 
Then the \n will persist and the tools will have no problem with this.  The
only thing I've found that doesn't like a file with UNIX style line endings is
"NotePad".


=====
Earnie Boyd <mailto:earnie_boyd AT yahoo DOT com>

Newbies, please visit
<http://www.freeyellow.com/members5/gw32/index.html>

(If you respond to the list, then please don't cc me)
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019