This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: DOS compatibility problem
- To: Stane Gruden <staneg at rd dot iskraemeco dot si>
- Subject: Re: DOS compatibility problem
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 02 Feb 2001 05:09:57 -0200
- Cc: gcc at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <3A7A58CF.44A68A5D@rd.iskraemeco.si>
On Feb 2, 2001, Stane Gruden <staneg@rd.iskraemeco.si> wrote:
> Is there any option in gcc to solve this problem or do I have
> to use some dos->unix converter?
This is fixed in the development version of GCC.
> In case of converter needed, does any tool exist that would convert
> entire directory trees not only a single file like dos2unix?
find . -type f -print | while read file; do
cp $f $f.orig && chmod u+w $f && dos2unix < $f.bak > $f
done
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me