pike.git/
src/
configure.in
Branch:
Tag:
Non-build tags
All tags
No tags
2008-07-09
2008-07-09 17:28:37 by 0
dbbb5706636c5552fcd62b8654506840dd189d32 (
28
lines) (+
15
/-
13
)
[
Show
|
Annotate
]
Branch:
7.9
Improve PPC G4/G5 scheduling flags slightly.
Rev: src/configure.in:1.1060
1:
-
AC_REVISION("$Id: configure.in,v 1.
1059
2008/07/09
13
:
47
:
53
jonasw Exp $")
+
AC_REVISION("$Id: configure.in,v 1.
1060
2008/07/09
17
:
28
:
37
jonasw Exp $")
AC_INIT(interpret.c) AC_CONFIG_HEADER(machine.h)
1960:
# -flat_namespace only needed for linking with libMallocDebug # AC_SYS_COMPILER_FLAG(-flat_namespace, flat_namespace, LDFLAGS)
+
# Take care of warning when linking with GMP libraries
+
AC_SYS_COMPILER_FLAG(-read_only_relocs warning, ro_relocs_warn, LDFLAGS)
+
# Tune based on processor family case "`machine`" in i486)
1967:
AC_SYS_COMPILER_FLAG(-march=pentium-m, arch_pentium_m, OPTIMIZE) AC_SYS_COMPILER_FLAG(-msse3, opt_sse3, OPTIMIZE)
-
# Take care of warning when linking with GMP libraries
-
AC_SYS_COMPILER_FLAG(-read_only_relocs warning, ro_relocs_warn, LDFLAGS)
-
+
# no-pic required for machine code to work AC_SYS_COMPILER_FLAG(-mdynamic-no-pic, dynamicnopic, OSFLAGS) ;;
-
+
ppc970|ppc7450|ppc7400)
+
# Improve performance on G4 and G5. Note that if the build machine
+
# is a G4 or newer the resulting pike won't run on a G3.
+
AC_SYS_COMPILER_FLAG(-mcpu=7400, cpu7400, OPTIMIZE)
+
AC_SYS_COMPILER_FLAG(-mtune=7400, tune7400, OPTIMIZE)
+
;;
*) # G3 is the baseline on PPC since Mac OS X doesn't support anything
-
# older.
Special flags could be used for ppc970, ppc7450 and ppc7400
-
# but that might also exclude older machines from running the
-
# resulting Pike binary.
+
# older.
AC_SYS_COMPILER_FLAG(-mcpu=750, cpu750, OPTIMIZE) AC_SYS_COMPILER_FLAG(-mtune=750, tune750, OPTIMIZE)
-
-
# Take care of warning when linking with GMP libraries
-
AC_SYS_COMPILER_FLAG(-read_only_relocs warning, ro_relocs_warn, LDFLAGS)
+
;; esac ])
2364:
# MinGW system. cat <<\EOF #!/bin/sh
-
# Automatically generated by $Id: configure.in,v 1.
1059
2008/07/09
13
:
47
:
53
jonasw Exp $.
+
# Automatically generated by $Id: configure.in,v 1.
1060
2008/07/09
17
:
28
:
37
jonasw Exp $.
# MinGW-version. Do NOT edit. posix_name="`cat`" posix_prefix="/"
2402:
# Native POSIX system. cat <<\EOF #!/bin/sh
-
# Automatically generated by $Id: configure.in,v 1.
1059
2008/07/09
13
:
47
:
53
jonasw Exp $.
+
# Automatically generated by $Id: configure.in,v 1.
1060
2008/07/09
17
:
28
:
37
jonasw Exp $.
# POSIX-version. Do NOT edit. cat EOF
2411:
# rntcl-style cat <<\EOF #!/bin/sh
-
# Automatically generated by $Id: configure.in,v 1.
1059
2008/07/09
13
:
47
:
53
jonasw Exp $.
+
# Automatically generated by $Id: configure.in,v 1.
1060
2008/07/09
17
:
28
:
37
jonasw Exp $.
# RNTCL-version. Do NOT edit. sed -e "$PIKE_PATH_TRANSLATE" EOF