I’ve been trying to get the pgi c-compiler to run on FreeBSD, so far not quite succeful.
While I could edit the installation and makelocalrc scripts enough to complete, when I try to compile anything I get the below error messages.
PGC-S-0029-Syntax error: Recovery attempted by deleting from typedef id __aligned on line 104 to just before ';' on line 104 (/usr/include/sys/_types.h: 104) PGC-S-0030-Syntax error: Malformed function or data declaration at ')' (/usr/include/sys/_types.h: 104) PGC-S-0029-Syntax error: Recovery attempted by deleting from ')' on line 104 through '(' on line 105 (/usr/include/sys/_types.h) PGC-S-0032-Syntax error: Unexpected input at ')' (/usr/include/sys/_types.h: 105) PGC-S-0029-Syntax error: Recovery attempted by deleting from ')' on line 105 through '}' on line 106 (/usr/include/sys/_types.h) PGC/x86-64 Linux 17.10-0: compilation completed with severe errors
I do realize this is not a supported platform, so not expecting official support, but was wondering if there were any other users around that had tried to get this running.
So far I’ve tried using the standard BSD-libc - maybe I should somehow use the linux-compat layer glibc.
Anyone with some experience here?