I am trying to build gpc-20011123 based on gcc-2.95.2 under Red Hat Linux 7.2. I have done this before with earlier versions of gpc but on this occasion configure is stopping when applying the patch to gcc with the message:
"Missing header for unified diff at line 449 of patch. The text leading up to this was |--- expr.c.orig Sun Nov 18 00:05:40 2001
Any clues as what the problem is ?
Martin Liddle wrote:
I am trying to build gpc-20011123 based on gcc-2.95.2 under Red Hat Linux 7.2. I have done this before with earlier versions of gpc but on this occasion configure is stopping when applying the patch to gcc with the message:
"Missing header for unified diff at line 449 of patch. The text leading up to this was |--- expr.c.orig Sun Nov 18 00:05:40 2001
Any clues as what the problem is ?
the diff for the last hunk has been issued from the wrong directory (gcc instead of base): replace the two lines by
--- gcc/expr.c.orig Sun Nov 18 00:05:40 2001 +++ gcc/expr.c Sun Nov 18 00:05:46 2001
Maurice
In article 3C065E68.4000502@ujf-grenoble.fr, Maurice Lombardi Maurice.Lombardi@ujf-grenoble.fr writes
Martin Liddle wrote:
I am trying to build gpc-20011123 based on gcc-2.95.2 under Red Hat Linux 7.2. I have done this before with earlier versions of gpc but on this occasion configure is stopping when applying the patch to gcc
the diff for the last hunk has been issued from the wrong directory (gcc instead of base): replace the two lines by
--- gcc/expr.c.orig Sun Nov 18 00:05:40 2001 +++ gcc/expr.c Sun Nov 18 00:05:46 2001
Thanks that fixed the problem; the solution was depressingly obvious when pointed out.
Martin Liddle wrote:
I am trying to build gpc-20011123 based on gcc-2.95.2 under Red Hat Linux 7.2. I have done this before with earlier versions of gpc but on this occasion configure is stopping when applying the patch to gcc with the message:
"Missing header for unified diff at line 449 of patch. The text leading up to this was |--- expr.c.orig Sun Nov 18 00:05:40 2001
Any clues as what the problem is ?
Oh sorry. A mistake when generating the patched. Will be fixed. If you want a fix now, apply the following diff to the GPC sources with the GCC diffs, then restart (patching GCC again). (It's a little bit confusing to talk about diffs of diffs. ;-)
Frank
Frank Heckenbach wrote:
Oh sorry. A mistake when generating the patched. Will be fixed. If you want a fix now, apply the following diff to the GPC sources with the GCC diffs, then restart (patching GCC again). (It's a little bit confusing to talk about diffs of diffs. ;-)
I sent this mail some days ago. For mysterious reasons, it didn't get posted until today, apparently. (Just in case anyone is wondering about this redundant reply since Maurice had already answered.)
Frank