Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 X-Sender: arai AT triton To: cygwin AT sourceware DOT cygnus DOT com Subject: Newbie ?:Ctrl-Z causes gcc to fail Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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