[Bug ada/85635] typo in link.c for BSD platforms
gnugcc at marino dot st
gcc-bugzilla@gcc.gnu.org
Fri May 4 12:47:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85635
--- Comment #9 from John Marino <gnugcc at marino dot st> ---
Those "many" people don't build gnat. Very few people do according to the
testsuite results page.
link.c code was:
#if defined (__WIN32)
(block 1)
#elif defined (__hpux__)
(block 2)
#elif defined (__FreeBSD__) || defined (__DragonFly__) \
|| defined (__NetBSD__) || defined (__OpenBSD__)
|| defined (__QNX__)
(block 3)
#elif defined (__APPLE__)
(block 4)
#elif defined (__linux__) || defined (__GLIBC__)
(block 5)
#elif defined (_AIX)
(block 6)
#elif (HAVE_GNU_LD)
(block 7)
#elif defined (VMS)
(block 8)
#elif defined (__sun__)
(block 9)
#elif defined (__svr4__) && defined (__i386__)
(block 10)
#else
(block 11)
#endif
I don't see how it would have compiled on linux. The cpp would have chocked on
__QNX__ check on the __linux__ platform just as it would for any of the BSDs.
It wasn't a BSD-only issue.
More information about the Gcc-bugs
mailing list