Adriaan van Os wrote:
Markus Gerwinski wrote:
Thanks! Something seems wrong, however. Calling patch -p1 < ../gcc.c.patch
Did you try patch -p0 < ... ?
I did. It didn't work either. However, I applied the patch manually now, and that worked. (See parallel mail.) ______________________________________________________________ Verschicken Sie romantische, coole und witzige Bilder per SMS! Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
The patching depends a) on the files relative to the current working directory. If you are in gcc/gcc/ (the directory where gcc.c lives) then you actually want -p2 (strip 2 most top directories). 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)
Jan Ruzicka
On Feb 15, 2005, at 06:38, Markus Gerwinski wrote:
Adriaan van Os wrote:
Markus Gerwinski wrote:
Thanks! Something seems wrong, however. Calling patch -p1 < ../gcc.c.patch
Did you try patch -p0 < ... ?
I did. It didn't work either. However, I applied the patch manually now, and that worked. (See parallel mail.) ______________________________________________________________ Verschicken Sie romantische, coole und witzige Bilder per SMS! Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193