This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
Re: cannot find config.sub
- To: Kenneth Porter <kenneth_porter at kensingtonlabs dot com>
- Subject: Re: [ECOS] cannot find config.sub
- From: Jonathan Larmour <jlarmour at redhat dot co dot uk>
- Date: Wed, 03 May 2000 13:10:16 +0100
- CC: "ecos-discuss at sourceware dot cygnus dot com" <ecos-discuss at sourceware dot cygnus dot com>
- Organization: Red Hat UK Ltd.
- References: <200005031130.e43BUVD20982@smtp.kensingtonlabs.com>
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