B.Gayathri wrote:
I took gpc-20020510.tar, gpc-20030830.i686-pc-linux-gnu.tar,gpc-20020510.ta= r,gpc-20030830.tar files from web site. I followed the installation instruc= tions given in the site. After unpacking the zip file I did configuration = of GCC by following command:
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).
*** ../../gnu/gcc-3.2.2/gcc/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 `../../gnu/gcc-3.2.2/gcc/configure' again.)
Configure in /gpc-build/gcc failed, exiting. I tried
I don't know what Patch command will do, but I tried and failed. [root@EXE-INDIA2 gpc-build]# patch -p1 < p/diffs/gcc-2.95.diff bash: p/diffs/gcc-2.95.diff: No such file or directory
You should run this command from the `gcc' source directory (in your case: .../gnu/gcc-3.2.2/gcc). I'll make this clearer in the message in the future.
I assumed that GNU had been installed and I tried compilation and I encountered the following:[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. Happy New Year!
I think you forgot to attach the Pascal source, so I can't help you here.
PS: Please use a reasonable line length (< 80 chars) and turn off HTML when posting to this list.
Frank