bug-fileutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Urgent -- Problem in eCos installation


From: Richard Dawe
Subject: Re: Urgent -- Problem in eCos installation
Date: Tue, 29 Jun 2004 22:19:59 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031031

Hello.

bug-fileutils is the wrong place for questions about eCos and patch. You should ask on the mailing lists for those software packages, whatever they are.

address@hidden wrote:
Hi all,

We are trying to install eCos. eCos-gcc version is 2.95

 It is giving problem while giving following command in cygwin:

$ tr -d '\r' < /home/abc/ecos_installable/gnu_tools/ecos-gcc-2952.pat | patch -p0 /home/abc/ecos_installable/gnu_tools/gcc/gcc-2.95.2/contrib/egcs_updat
e --touch

patch: unrecognized option `--touch'
patch: Try `patch --help' for more information.
[snip]

I suspect the patch in Cygwin is not recent enough to support the "--touch" option. I don't know which version does. patch on my RedHat Linux 8.0 system does not support "--touch":

  address@hidden rich]$ patch --touch
  patch: unrecognized option `--touch'
  patch: Try `patch --help' for more information.
  address@hidden rich]$ patch --version
  patch 2.5.4
  Copyright 1984-1988 Larry Wall
  Copyright 1989-1999 Free Software Foundation, Inc.

  This program comes with NO WARRANTY, to the extent permitted by law.
  You may redistribute copies of this program
  under the terms of the GNU General Public License.
  For more information about these matters, see the file named COPYING.

  written by Larry Wall and Paul Eggert

Maybe it will work, if you remove the "--patch" option?

If not, perhaps you could use patchutils (search on <http://freshmeat.net/>) to extract a list of the files modified by the patch and touch them manually. I think there is a program in patchutils to do this. E.g.:

  tr -d '\r' < /home/abc/ecos_installable/gnu_tools/ecos-gcc-2952.pat \
    | patch -p0 /home/abc/.../egcs_update
  some-utility-from-patchutils /home/abc/.../egcs_update | xargs touch

I shortened the path to the patch for readability. Replace "some-utility-from-patchutils" as appropriate.

Hope that helps, bye, Rich =]

--
Richard Dawe [ http://homepages.nildram.co.uk/~phekda/richdawe/ ]

"You can't evaluate a man by logic alone."
  -- McCoy, "I, Mudd", Star Trek





reply via email to

[Prev in Thread] Current Thread [Next in Thread]