I have been attempting to compile gpc on AIX. I encounter this error:
ld: 0711-781 ERROR: TOC overflow. TOC size: 67804 Maximum size: 65536 collect2: ld returned 12 exit status
Apparently this problem is known, because gcc/p/Makefile includes:
# f771 and cc1plus overflow the AIX TOC BOOT_LDFLAGS=-Wl,-bbigtoc
and "-bbigtoc" is the ld option that relaxes the TOC limit. I can't find BOOT_LDFLAGS referenced anywhere below its definition. Could this be the problem?
Thanks --Chris Ferrall
P.S: Thank you, thank you, thank you for continuing to develop GNU Pascal. I had dreaded the thought of quitting Pascal because the demise of AIX Pascal was starting limit my work. It appears GPC might allow me to carry on - if I could get it installed.