toms@ncifcrf.gov wrote:
Well, perhaps there was a problem because you elected to use a different directory to the default (ie. /usr/local)? OTOH, I would expect that one of the steps should have stopped with an error message, if there was a problem?
Generally, the build and install process should work with any target directory that you have write access to. If the directory is FOO, you'll find the main binaries (gpc, etc.) in FOO/bin. Some other files needed by it are in FOO/lib/gcc-lib/... The exact location is hard-coded in the gpc executable, so it won't work (without setting some extra variables) if you move them afterwards.
Thanks. No errors to indicate that. OTOH there is so much stuff going by on the screen - how is one to know if a warning is a problem?
Try `make -s' for a start. The remaining messages are either produced by the GCC frontend (whose developers don't seem too interested in getting rid of them; you might want to complain to them), or real GPC problems.
I get
../../gcc-2.95.2/gcc/toplev.c:1178: warning: initialization from incompatible po is that a problem?
No, that's one of the first category (the most common one).
So it now seems to run just fine, doing all the steps. There is a cryptic statement at
http://www.gnu-pascal.de/gpc_51.html#SEC51
to 'Make sure that GNU make is installed.' A clue as to how to check that would be useful!!!
make --version
If it says it's GNU make, then it is. Otherwise (it says something else or complains about the unknown arguments), it's not.
To be safe I switched to gmake but it made no difference.
Yes, gmake (where it exists) is usually GNU make. Did you start from scratch using it? Otherwise, if something made by another make is left, this might cause problems.
(It gives lots of errors on the c compile on solaris ... don't these scripts detect their environment?)
What scripts, what errors? Your statement is rather vague ...
I'm not sure if anyone tried to build GPC with a non-gcc compiler recently (if so, please give me a note), so there might in fact be some errors. If I know what they are, I might be able to fix them.
Frank