diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1994-08-26 18:45:20 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1994-08-26 18:45:20 -0400 |
commit | 405fc2388cd2a0733aee40eff37b04cfae653af9 (patch) | |
tree | b763d818c20de8a682cba3161266ae39853a7cf4 /gcc | |
parent | 703d9877a641b5ced438ead7b50d1f34d72c7519 (diff) | |
download | gcc-405fc2388cd2a0733aee40eff37b04cfae653af9.zip gcc-405fc2388cd2a0733aee40eff37b04cfae653af9.tar.gz gcc-405fc2388cd2a0733aee40eff37b04cfae653af9.tar.bz2 |
Recognize powerpc-ibm-aix3.2.5.
From-SVN: r7992
Diffstat (limited to 'gcc')
-rwxr-xr-x | gcc/config.guess | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/config.guess b/gcc/config.guess index 7e25de4..5838ce9 100755 --- a/gcc/config.guess +++ b/gcc/config.guess @@ -127,6 +127,19 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in exit 0 ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then + sed 's/^ //' << EOF >dummy.c + #include <sys/systemcfg.h> + + main() + { + if (!__power_pc()) + exit(1); + puts("powerpc-ibm-aix3.2.5"); + exit(0); + } +EOF + ${CC-cc} dummy.c -o dummy && ./dummy && rm dummy.c dummy && exit 0 + rm -f dummy.c dummy echo rs6000-ibm-aix3.2.5 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then echo rs6000-ibm-aix3.2.4 |