According to FPL:
I downloaded rand.pas file on agnes as adviced by GPC Guru, and this one does not pass through the gpc --automake trial.
Don't you think this part of code (line 113)
PROCEDURE SRand(Seed:Cardinal); C; FUNCTION GetPID:Integer; C;
should be thus written:
PROCEDURE SRand(Seed:cardinal); C; FUNCTION GetPID:cardinal; C;
It should not matter, but seemingly it does in gpc-971001. This problem is fixed in newer (alpha) versions, currently only available in source code.
(as cardinal being a c long int, [...])
`Cardinal' is `unsigned int' in C; to get `long int' and `unsigned long int', use `MedCard' or `MedInt' (which is the same as `Cardinal' and `Integer' on most systems). (See also `info -f gpc -n "Integer types"'.)
Peter