This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Newbie ?:Ctrl-Z causes gcc to fail


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]