Hi,
installation of gpc-20010111 on AIX 4.3.3 had the following problems: - while linking gpc1 the TOC overflows: ld: d: 0711-781 ERROR: TOC overflow. TOC size: 67732 Maximum size: 65536 The problem can be circumvented by adding the "-Wl,'-bbigtoc'" flag to LDFLAG (assuming gcc is used to call ld, for xlc it's just "-bbigtoc") It strikes me as odd that all other gcc compilers (gcc, g++, f77, objective c and java do not overflow the TOC during install.
- while compiling the RTS with xgpc, rts/internal.pas produces invalid assembler code. rts/internal.pas contains
procedure RunFinalizers (var AtExitProcs : PProcList); asmname 'gpc$runfinaliz ers';
The AIX assembler does not allow "$" in symbols ! After changing "gpc$runfinalizers" to "_p_runfinalizers" the RTS could be built. Of course the magic name is now destroyed.
Is it possible to fix the above problems in the distribution so that GPC can be installed on AIX in a standard manner ?
Kind Regards Paul