Sir, I received your reply and thank you very much.
You wrote:
Which one exactly did you try? 20020510 is a bit old, 20030830 is the msot recent release. gpc-20030830.i686-pc-linux-gnu.tar is a binary for Linux (you can just unpack it and don't have to compile it; but if you can compile the sources, it's generally better).
Actually I dont know which tar file I have to take to compile Pascal source in Linux platform, as there are many tar files available in the web site. So please advice me in doing so.
As per your advice I gave the configure command in /gnu/gpc-3.2.2/gcc/, but still the following same error occurred. *** ./configure detected GCC version 3.2.2. *** GPC 2.1 requires one of the following versions of GCC sources to build: *** *** 2.8.1 *** 2.95.1 *** 2.95.2 *** 2.95.3-5 *** 2.95.3-6 *** 2.95.3 *** 2.95.4 *** 2.95 *** *** (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.)
Sorry, I forgot to attach the source in my earlier mail and now I have attached. I did compilation of the pascal source, and the results as follows: [root@EXE-INDIA2 gpc-build]# gpc -c uttrace.p uttrace.p:1: numeric constant contains digits beyond the radix uttrace.p:1: warning: missing program header uttrace.p:1: parse error before `control'
I agian tried with other command: [root@EXE-INDIA2 gpc-build]# gcc -c braccess.p gcc: braccess.p: Pascal compiler not installed on this system
Still I am not clear whether I have installed and configured the GNU properly. I have attached a pascal source to get compiled in Linux. I want that simple file to be compiled successfully in Linux. I request you to help me in solving the installation problems. Awaiting your reply.
Thanks and reagrds, B.Gayathri