projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
703d987
)
Recognize powerpc-ibm-aix3.2.5.
author
Richard Kenner
<kenner@gcc.gnu.org>
Fri, 26 Aug 1994 22:45:20 +0000
(18:45 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Fri, 26 Aug 1994 22:45:20 +0000
(18:45 -0400)
From-SVN: r7992
gcc/config.guess
patch
|
blob
|
history
diff --git
a/gcc/config.guess
b/gcc/config.guess
index 7e25de497a158406fdff39a0447a9da10cdad054..5838ce9fc11600c4c02e0d32ffdb867c363df523 100755
(executable)
--- 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