yaloki just mentioned IBM VisualAge, and I found out that it’s

not, as I thought, their Wintel compiler but AIX’s xlC…

no breakage, just redundancy.
This commit is contained in:
tg 2008-03-28 22:56:15 +00:00
parent 66f8c8475e
commit 506326f051
1 changed files with 2 additions and 11 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.306 2008/03/28 14:04:23 tg Exp $' srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.307 2008/03/28 22:56:15 tg Exp $'
#- #-
# Environment used: CC CFLAGS CPPFLAGS LDFLAGS LIBS NOWARN NROFF TARGET_OS # Environment used: CC CFLAGS CPPFLAGS LDFLAGS LIBS NOWARN NROFF TARGET_OS
# CPPFLAGS recognised: MKSH_SMALL MKSH_ASSUME_UTF8 MKSH_NOPWNAM MKSH_NOVI # CPPFLAGS recognised: MKSH_SMALL MKSH_ASSUME_UTF8 MKSH_NOPWNAM MKSH_NOVI
@ -405,7 +405,7 @@ $e ... which compiler seems to be used
cat >scn.c <<-'EOF' cat >scn.c <<-'EOF'
#if defined(__ICC) || defined(__INTEL_COMPILER) #if defined(__ICC) || defined(__INTEL_COMPILER)
ct=icc ct=icc
#elif defined(__xlC__) #elif defined(__xlC__) || defined(__IBMC__)
ct=xlc ct=xlc
#elif defined(__SUNPRO_C) #elif defined(__SUNPRO_C)
ct=sunpro ct=sunpro
@ -419,8 +419,6 @@ cat >scn.c <<-'EOF'
ct=hpcc ct=hpcc
#elif defined(__DECC) #elif defined(__DECC)
ct=dec ct=dec
#elif defined(__IBMC__)
ct=visualage
#elif defined(__PGI) #elif defined(__PGI)
ct=pgi ct=pgi
#elif defined(__DMC__) #elif defined(__DMC__)
@ -561,13 +559,6 @@ tendra)
ucode) ucode)
vv '|' "$CC -V" vv '|' "$CC -V"
;; ;;
visualage)
cat >&2 <<-'EOF'
Warning: IBM VisualAge detected. This compiler has not yet
been tested for compatibility with mksh. Continue at your
own risk, please report success/failure to the developers.
EOF
;;
watcom) watcom)
cat >&2 <<-'EOF' cat >&2 <<-'EOF'
Warning: Watcom C Compiler detected. This compiler has not yet Warning: Watcom C Compiler detected. This compiler has not yet