Mehdi Khaldi wrote:
Hi, I try to build gpc on a solaris platform (solaris7). I use GCC 3.2.1 . The gpc version I want to build dates 20030209.
When I execute the configure file, an error occurs :
*** Detected GCC version 3.2.1. *** GPC 2.1 requires a patch to GCC to build with version 3.2.1. *** This patch will now be applied. *** Press ENTER to continue, Ctrl-C to abort.
Malformed patch at line 67: patch: Second character must be a ' ' character.
What do I do to resolve this problem? Do I fix the patch? Where is the patch?
Oh, sorry, there's a small mistake in the patch (file gcc/p/diffs/gcc-3.2.1.diff). Line 67 contains only `+', but there must be a space after it. You can insert it yourself (but you'll have to use a text editor that doesn't automatically remove trailing spaces).
Frank