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 -- Peter Gerwinski, Essen, Germany, http://home.pages.de/~Peter.Gerwinski/ Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - gpc-19990118 PGP key on request - 6C 94 45 BE 28 A4 96 - 0E CC E9 12 47 25 82 75 *** Vote against SPAM! ********* http://www.politik-digital.de/spam/ ***