Article View: comp.lang.c.moderated
Article #2657Re: Compiling DOS source on Unix
From: Peter Seebach
Date: Tue, 16 Feb 1999 00:00
Date: Tue, 16 Feb 1999 00:00
26 lines
2047 bytes
2047 bytes
In article <clcm-19990215-0011@plethora.net>, Ketil Z Malde <ketil@ii.uib.no> wrote: >I have a bunch of sources that were written on PCs, thus with CRLF >line termination. I want to compile them on a Unix system, or >specifically, with GCC on Linux, which uses LF line termination. I'd just like to point out that one of the big sources of mysterious errors this year in IOCCC entries was ^M's at the end of lines. >I've been unsuccessfully toying with macro defining the problem away, >and I've been searching for cpp options to inhibit this - I'd rather >not mess up the original sources. Surely, somebody must have had this >problem before, and solved it somehow? You have to translate the sources. This isn't really "messing them up". It's just part of taking a "text file" and turning it into a different kind of "text file". -s -- Copyright 1999, All rights reserved. Peter Seebach / seebs@plethora.net C/Unix wizard, Pro-commerce radical, Spam fighter. Boycott Spamazon! Send me money - get cool programs and hardware! No commuting, please. Visit my new ISP <URL:http://www.plethora.net/> --- More Net, Less Spam! -- comp.lang.c.moderated - clcm@plethora.net
Technical Details
Message-ID:
<clcm-19990216-0008@plethora.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<clcm-19990215-0011@plethora.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 100850,cf2e8be01827b0a6 X-Google-Attributes: gid100850,public X-Google-Thread: f65d0,cf2e8be01827b0a6 X-Google-Attributes: gidf65d0,public From: seebs@plethora.net (Peter Seebach) Subject: Re: Compiling DOS source on Unix Date: 1999/02/16 Message-ID: <clcm-19990216-0008@plethora.net> X-Deja-AN: 445037650 X-Old-trace: ptah.visi.com 919184819 205.166.146.8 (Tue, 16 Feb 1999 11:06:59 CDT) Sender: news@ptah.visi.com Approved: clc@plethora.net References: <clcm-19990215-0011@plethora.net> X-Trace: ptah.visi.com 919193573 205.166.146.5 (Tue, 16 Feb 1999 13:32:53 CDT) Organization: Plethora . Net - More net, less spam! NNTP-Posting-Date: Tue, 16 Feb 1999 13:32:53 CDT Newsgroups: comp.lang.c.moderated,gnu.gcc Originator: clcm@plethora.net (Comp Lang C'Moderated)