delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/12/27/19:34:36

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
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
X-Authentication-Warning: triton.dnai.com: arai owned process doing -bs
Date: Mon, 27 Dec 1999 16:39:09 -0800 (PST)
From: Chris Arai <arai AT araidesign DOT com>
X-Sender: arai AT triton
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Newbie ?:Ctrl-Z causes gcc to fail
Message-ID: <Pine.NEB.3.96.991227163241.23795A-100000@triton>
MIME-Version: 1.0

Sorry about this question, it seems like it must have been answered many
times.

I am trying to port DOS c source files to gnu/linux.  When I try to
compile I get errors that seem to indicate that the DOS end of file
character Ctrl-Z is causing gcc to fail.  Of course I have run the files
through fromdos (and I've also tried the equivalent, dos2unix) but the
Ctrl-Z is still there.  

What is the normal method of converting DOS source files to linux so that
at least the characters are correct, if not the content?  

I will probably try using tr -d \32 but that seems the long way around for
something that must have been solved long ago, probably near the end of
the first Millenium.

Thanks,

Chris



Chris Arai
Arai Design
mailto:chris AT araidesign DOT 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