• mention HP-UX, AIX success

• mention Darwin failure in R29c, fix in -current
• also clean up core dump file
• on HP-UX 11i v2, <stdint.h> requires <stdarg.h> because it pulls in
  a <wchar.h> generated from gcc's fixincludes… dunno, but it works…
• HP-UX 11i v2 on ia64 only works with -mlp64; the default seems to be
  -milp32 which generates SIGBUS due to misalignment (due to optimisation?)

-> in theory, HP-UX works on both PA-RISC and IA64 in R29c
-> R29c doesn't contain support for AIX or Mac OSX though…
This commit is contained in:
tg
2007-04-23 22:33:20 +00:00
parent e35eed3687
commit 2cf5695f69

View File

@@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
# $MirOS: src/bin/mksh/Build.sh,v 1.177 2007/04/23 21:36:02 tg Exp $ # $MirOS: src/bin/mksh/Build.sh,v 1.178 2007/04/23 22:33:20 tg Exp $
#- #-
# Environment used: CC CFLAGS CPP CPPFLAGS LDFLAGS LIBS NOWARN NROFF TARGET_OS # Environment used: CC CFLAGS CPP CPPFLAGS LDFLAGS LIBS NOWARN NROFF TARGET_OS
# CPPFLAGS recognised: MKSH_SMALL MKSH_ASSUME_UTF8 MKSH_NEED_MKNOD MKSH_NOPWNAM # CPPFLAGS recognised: MKSH_SMALL MKSH_ASSUME_UTF8 MKSH_NEED_MKNOD MKSH_NOPWNAM
@@ -154,6 +154,8 @@ if test -d mksh; then
echo "$0: Error: ./mksh is a directory!" >&2 echo "$0: Error: ./mksh is a directory!" >&2
exit 1 exit 1
fi fi
rm -f a.exe a.out *core crypt.exp lft mksh mksh.cat1 mksh.exe no scn.c \
signames.inc test.sh x
: ${CC=gcc} ${CPP=false} ${NROFF=nroff} : ${CC=gcc} ${CPP=false} ${NROFF=nroff}
curdir=`pwd` srcdir=`dirname "$0"` check_categories=pdksh curdir=`pwd` srcdir=`dirname "$0"` check_categories=pdksh
@@ -200,7 +202,6 @@ AIX)
warn=' and is still experimental' warn=' and is still experimental'
if test x"$LDFLAGS" = x""; then if test x"$LDFLAGS" = x""; then
LDFLAGS="-Wl,-bI:crypt.exp" LDFLAGS="-Wl,-bI:crypt.exp"
rm -f crypt.exp
cat >crypt.exp <<-EOF cat >crypt.exp <<-EOF
#! #!
__crypt_r __crypt_r
@@ -228,6 +229,10 @@ GNU/kFreeBSD)
;; ;;
HP-UX) HP-UX)
warn=' and is still experimental' warn=' and is still experimental'
test def = $s && s=dyn
case `uname -m` in
ia64) : ${CFLAGS='-O2 -mlp64'} ;;
esac
;; ;;
Interix) Interix)
CPPFLAGS="$CPPFLAGS -D_ALL_SOURCE" CPPFLAGS="$CPPFLAGS -D_ALL_SOURCE"
@@ -273,7 +278,6 @@ CPPFLAGS="$CPPFLAGS -I'$curdir'"
# #
# Begin of mirtoconf checks # Begin of mirtoconf checks
# #
rm -f a.exe a.out lft mksh mksh.cat1 mksh.exe no scn.c signames.inc test.sh x
$e ${ao}Scanning for functions... please ignore any errors. $e ${ao}Scanning for functions... please ignore any errors.
# #
@@ -420,7 +424,7 @@ ac_header sys/sysmacros.h
ac_header libgen.h ac_header libgen.h
ac_header paths.h ac_header paths.h
ac_header stdbool.h ac_header stdbool.h
ac_header stdint.h ac_header stdint.h stdarg.h
ac_header grp.h sys/types.h ac_header grp.h sys/types.h
ac_header ulimit.h ac_header ulimit.h
ac_header values.h ac_header values.h