Greetings -
On the recommendation of Frank Heckenbach, who has been trying to help me, I'm posting a note on this maillist to see if I can resolved what should be a simple problem. Please cc replies to me directly, since I'm not currently subscribed to the list.
I am running an ultraSPARC Sun with Solaris 2.6, and the latest Solaris 2.6 binary of the patch utility. I'm trying to install gpc-980401 on my machine, and implement the various "diffs" (patches). I have gcc-2.8.1 already installed.
Here is what I've tried.
- created a new directory - unpacked the GCC-2.8.1 and then GPC-980401 archives - ln -s "../gpc-980401/p" gcc-2.8.1 (the quotes being necessary to prevent ".." from being expanded by tcsh in my case) - cd gcc-2.8.1 - gunzip -c ../gpc-980401-980405.diff.gz | patch -p1
It is in the last step that I have the problems. When I execute this command, my system respinds with:
Looks like a unified context diff. File to patch:
In other words, it sits there and asks me for the name of the file I want to patch. Its supposed to get this from the diff file directly - but it clearly ins't working. I've tried all the permutations of the "-pxx" option for patch, and I can't find any clue from the man pages what I should be doing differently.
Any suggestions?
Thanks very much in advance. Again, if you send a copy of your reply to me directly, I'd appreciate it.
Evan Cooch Department of Biological Sciences Simon Fraser University cooch@fraser.sfu.ca