Hello!
Ivan Torshin wrote:
I'm trying to compile GPC under linux using unix sources. (in order to compile pascal programs written for BP 7.0 but it is another story). The GCC 2.95 and GPC were downloaded and dealt with as it is described in the GPC/p/INSTALL file.
That file is not really up-to-date. This is what to do:
* Unarchive the GCC and the GPC source.
* Move (or copy) the `p' subdirectory from the GPC source tree into the `gcc' subdirectory of the GCC source tree. (After that there must be a directory `gcc-<version>/gcc/p'.)
* Make a directory for compiling (e.g. `gpc'). `cd' to that directory.
* Call the `configure' script in the GCC source directory, e.g.
/foo/bar/gcc-2.95.2/configure
This will automatically patch your GCC source, create `Makefile's in the new directory, etc.
* Call `make'.
* When everything compiled, you can install (as `root') with `make install'.
Howevre, there are no diff file gcc-2.95.diff
Hmm... there is. Strange.
You are sure that you have the most recent (alpha) version of GPC that works with gcc-2.95.x?
and mkdiff script also seems to be of little use (for making this file).
That's correct. It's a developers' tool.
Could someone help me with it? I'm a novice in compiling compilers, as usually all DOS/Windows programs are ready made, although may contains viruses.
You can also download a ready-made GPC from
ftp://agnes.dida.physik.uni-essen.de/beta/binary/
Hope this helps,
Peter