This is the mail archive of the ecos-discuss@sourceware.cygnus.com mailing list for the eCos project.


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

Re: cannot find config.sub


Kenneth Porter wrote:
> 
> On Sun, 16 Apr 2000 18:09:09 CDT, Rosimildo daSilva wrote:
> 
> > I bet you it is some "CRLF" --> "LF" cleanup. CygWin is
> > totally crazy on this regard.
> >
> > Try to cleanup the files that you changed, specially
> > configuration files, using some utility such as
> > dos2unix.exe.
> >
> > I usually use this:
> >
> >   find -mtime -1 -type f -exec dos2unix {} \;
> 
> Did this ever get resolved? I finally got around to installing 1.3.1
> and ran into this one, as there's no hint about this on the PPC install
> page. Fortunately I had my archive of the mailing list and quickly
> found this thread.
> 
> As you may recall, eCos recommends text mode mounts, but  Cygwin 1
> defaults to binary mounts, and some problem in the gcc patch process
> results in the 14 patched files being in DOS mode. Alas, dos2unix isn't
> part of Cygwin, so I had to go track down a copy and install it, and
> then add the above find command right after the patch command in the
> installation instructions. Right now I'm waiting for powerpc-eabi-gcc
> to finish building.

Yeah, I added something to the windows install instructions to take account
of this. Instead of running patch directly, instead run

tr -d '\r' < patchfile | patch -p0

to apply the patch. This works around the problem.

Jifl
-- 
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow."  ||  These opinions are all my own fault

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