Jan Ruzicka wrote:
b) there can be a problem with the line endings (CRLF vs CR / LF). The file gcc.c on your system may have different line endings then the used patch file. The difference in line endings may prevent patch from matching the surrounding blocks of code. (dos2unix is your friend)
The patch file really contained ^Ms. However, removing them didn't change things.
I also doubt it has anything to do with the paths. What I did was this: - file to change: $MYPATH/gcc-3.2.3/gcc/gcc.c - path in the patch file: gcc/gcc/gcc.c
So I did `cd $MYPATH/gcc-3.2.3' and then `patch -p1 < ../gcc.c.patch'. That should have done the trick, shouldn't it?
Yours,
Markus ______________________________________________________________ Verschicken Sie romantische, coole und witzige Bilder per SMS! Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193