This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Newbie ?:Ctrl-Z causes gcc to fail
- To: cygwin at sourceware dot cygnus dot com
- Subject: Newbie ?:Ctrl-Z causes gcc to fail
- From: Chris Arai <arai at araidesign dot com>
- Date: Mon, 27 Dec 1999 16:39:09 -0800 (PST)
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@araidesign.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com