This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: DOS compatibility problem


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

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