https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107607
Bug ID: 107607 Summary: tools-src/calcpath uses unportable realpath(1) Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: modula2 Assignee: gaius at gcc dot gnu.org Reporter: ro at gcc dot gnu.org Target Milestone: --- When trying to build the devel/modula-2 branch on Mac OS X 10.7/Darwin 11, it failed when executing gcc/m2/tools-src/calcpath since that Darwin version doesn't have realpath(1) at all. It isn't mentioned in the Autoconf docs which are a good source for portability advice. The possible alternative readlink -f cannot be used either because, while the command exists, the native version doesn't support the -f option. I'm currently cheating by using the coreutils 9.1 version, but building that on Darwin 11 is sort of a nightmare and seems way overkill just to run a single script.