Emil Jerabek wrote:
Tom Schneider wrote:
Last month you described in detail how to install gpc. Almost everything worked, but I can't install as root on the system since I am not an admin.
/users/tds/now/gpc/gpc-build/gcc> make pascal.install-with-gcc make: don't know how to make pascal.install-with-gcc. Stop
Oh well! I didn't expect it to work, but this mesage is not right - it should have objected about permissiones or something.
Strange. I admit that I've never used this make target personally, maybe I just misinterpreted the docs.
No, this should work. Possible explanations for the failure are: your GPC is not the current one (`...-with-gcc' was introduced quite recently) or you use gcc-2.8.1 as the backend (in which case you must do so from the main build directory; but since there would not be a `gcc' subdirectory, unless you created it yourself, this does not seem to be the case).
Anyway, if you need to install GPC in other place than /usr/local/bin, you must tell it to `configure' _before_ the compilation, e.g.
../gcc-2.95.2/configure --prefix=/some/dir --enable-languages=pascal
Yes, that's the recommended thing to do. There are other ways, but they are meant for cases when you can't compile from the sources. If you compile it yourself, anyway, `--prefix' is the simplest and cleanest
Frank