Sir, Thank you very much for your mail about patching GCC. I downloaded Patch from http://www.gnu.org/directory/patch.html site. (patch-2.5.4.tar.gz). I unpacked the same in my GNU work folder (gnu/gcc-3.2.2/gcc). But when I tried configuring GCC, it gives same message (You can try to patch GCC manually by typing a command like *** `patch -p1 < p/diffs/gcc-2.95.diff' and patching possible rejects *** by hand before you run `./configure' again.)
When I tried patch command it didnt work for me. How to install Patch command..? In the README file aslo nothing is given about patch. Is it necessary to install patch? If so what I have to do?
The following error occurs: [root@EXE-INDIA2 gcc]# patch -p1 < p/diffs/gcc-2.95.diff bash: patch: command not found
But when I try the same configure command under /gnu/gcc-3.2.2/gcc/patch-2.5.4, then it worked.Few lines of output as follows: [root@EXE-INDIA2 patch-2.5.4]# configure --enable-languages=pascal loading cache ./config.cache checking host system type... i686-pc-linux-gnu checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes
[root@EXE-INDIA2 patch-2.5.4]# make install /bin/sh ./mkinstalldirs /usr/local/bin /usr/local/man/man1 /usr/bin/install -c patch /usr/local/bin/`echo patch | sed 's,x,x,'` /usr/bin/install -c -m 644 ./patch.man /usr/local/man/man1/`echo patch | sed 's,x,x,'`.1 Is this correct? To my knowledge the above commands should work in the gnu work folder.. Sorry for disturbing you again ana again.
Thanks and regards, B.Gayathri