> According to Paul Doerwald:
> >
> > Try 'touch'ing parse.c and parse.y, so that the two of them both get
> > recompiled. Maybe that will help.
>
> Indeed: `parse.c' and `parse.h' in `gpc-980511.tar.gz' are broken.
> Sorry for that. I am uploading a fixed archive now which differs
> from the previous one in that it expands to a subdirectory `gpc'
> rather than `gpc-980511'. (I hope this will not do any harm.;-)
>
Now I did as you suggested yesterday and deleted the *.gpi files also.
I got an interesting error about a pascal file in the p/rts subdirectory.
This is the output:
../../xgpc -B../../ --automake -c -DGPC -Wall -Wpointer-arith -Wmissing
-prototypes -Wmissing-declarations -g -I. -I../.. -I/export/home/local/src/GNU
/gcc-2.8.1/p/rts/../.. -I/export/home/local/src/GNU/gcc-2.8.1/p/rts/../../config
rts-move.p
rts-move.p:33: no exported interface matching `Rts_base'
rts-move.p: In function `Merge':
rts-move.p:53: undeclared identifier `Words_big_endian' (first use this function
)
rts-move.p:53: (Each undeclared identifier is reported only once
rts-move.p:53: for each function it appears in.)
rts-move.p:54: condition must be of Boolean type
rts-move.p: In function `Moveleft':
rts-move.p:89: undeclared identifier `Need_word_alignment' (first use this funct
ion)
rts-move.p:89: condition must be of Boolean type
rts-move.p:94: warning: cast increases required alignment of target type
rts-move.p:95: warning: cast increases required alignment of target type
rts-move.p:99: warning: cast increases required alignment of target type
rts-move.p:100: warning: cast increases required alignment of target type
rts-move.p:102: warning: cast increases required alignment of target type
rts-move.p:103: warning: cast increases required alignment of target type
rts-move.p:106: warning: cast increases required alignment of target type
rts-move.p:123: warning: cast increases required alignment of target type
It seems that rts_base.p didn't get compiled. So I manually typed the
lengthy command line above but compiled rts_base.p instead. I got this
message:
rts-base.p:56: warning: no previous prototype for `__init_Rts_base'
but it seems to have compiled the unit.
Then I retried to compile the other file, rts-move.p
(manually at this stage again)
Then it gave me the same automake error again as before:
gpc1: installation problem, cannot exec `gpc': No such file or directory
gpc1: gpc exited with status 255
gpi-hash.c:329: failed assertion `rp == 0'
xgpc: Internal compiler error: program gpc1 got fatal signal 6
Ok, I'm putting a copy of xgpc linked as gpc... Another make LANGUAGES="pascal"
There are a number of warnings (do you need them?), but mainly there is this
error:
gpc: installation problem, cannot exec `gpc-cpp': No such file or directory
However compilation is proceeding still... Other warnings about type mismatch
in implicit declaration for built-in functions sqrtl,sinl, cosl in
rts-emath.c.
I'll post later with the results - it's still proceeding right now as I type.
Regards,
Clyde Meli