"Peter" == Peter Gerwinski peter@gerwinski.de writes:
Peter> You can patch it with the same diff as 2.95.1. MM> MM> but there's no such diff in the gpc sources!
Peter> --> get current (alpha) distribution, gpc-19991030. Peter> (the next one is in preparation)
Okay, I got that one, I found the proper patch file in diffs/p applied and was able to "configure & make" successfully.
Next step "install" does not work according to the documentation in gpc/p/INSTALL
When everything compiles, you can verify what the `make -n pascal.install' command does, and if you are satisfied run it without the `-n' option to install the compiler `gpc1', front end `gpc', run time system `libgpc.a' to the same place where `gcc' was installed. This installation process does *not* overwrite existing copies of `libgcc.a' or `specs', should they exist.
You can also install GPC as part of the complete GNU compiler suite using "make install" as described in the GCC installation docs.
....% make pascal.install ------------------- make: *** No rule to make target `pascal.install'. Stop.
Now there's really no "pascal.install" target in the Makefile. The corresponding section in the Makefile is
INSTALL_MODULES = \ install-apache \ install-ash \ install-autoconf \ install-automake \ ......... (lots omitted) ........... install-tgas \ install-time \ install-uudecode \ install-wdiff \ install-zip \ $(EXTRA_TARGET_HOST_INSTALL_MODULES)
and $(EXTRA_TARGET_HOST_INSTALL_MODULES) is empty
>> # These can be overridden by config/mt-*. >> # The _TARGET_ is because they're specified in mt-foo. >> # The _HOST_ is because they're programs that run on the host. >> EXTRA_TARGET_HOST_ALL_MODULES = >> EXTRA_TARGET_HOST_INSTALL_MODULES = >> EXTRA_TARGET_HOST_CHECK_MODULES =
I've used a build directory different from source, and written ../gpc-gcc-src/gcc-2.95.2/configure which gave
Configuring for a i686-pc-linux-gnu host. Created "Makefile" in /usr/local/app/gcc-build using "mt-frag" Configuring libiberty... creating cache ../config.cache ................
What would have been the correct configure statement ? How do I (non-manually) install gpc now ?
BTW: Tried "make check" also which ran quite a few things and ended in errors (but not within gpc testing I think). Should I report this somewhere ?
------------------------
Peter> A new version of the FAQ is in preparation. Please search the Peter> list archives for it. MM> MM> no url?
Peter> http://www.gnu.de/archive/wilma.cgi/gpc. (also on homepage)
not quite. The above is a "Search" interface to the gpc mailing lists, and the homepages has a link to a FAQ; but that FAQ is more than three years old.
Thanks again