Oliver Puetz wrote:
while compiling gpc.pas gpc reports
gpc.pas:73: type name expected, identifier `Cstring' given gpc: Internal compiler error: program gpc1 got fatal signal 11 gpc1: gpc exited with status 1
parameters was
gpc -B ... -L ... --automake
Are you sure that there was no hidden `--borland-pascal' around which would turn off the `CString' extension (and others)? The `GPC' unit must always be compiled without any `--foo-pascal' (but `--gnu-pascal';-).
I had to copy gpc.pas into my local dir, otherwise it wouldn't be found. adding
-I /tmp/puetzobq/usr/local/lib/gcc-lib/mips-sgi-irix6.2/2.8.1/units/
as gpc.pas its directory didn't help.
Yes, for units, it's `--unit-path=/.../', not `-I'. But the `.../lib/gcc-lib/.../units/' directory should always be searched automatically, so something is still wrong with your installation.
Could it be that all errors occur, because setting the environmental variables like GPC_EXEC_PREFIX didn't seem to work?
Yes.
It's `GCC_EXEC_PREFIX', but maybe we should look for `GPC_EXEC_PREFIX' as well. Comments?
Peter