ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SheepShaver/src/Unix/configure.ac
(Generate patch)

Comparing SheepShaver/src/Unix/configure.ac (file contents):
Revision 1.23 by gbeauche, 2005-06-11T16:47:00Z vs.
Revision 1.24 by gbeauche, 2005-06-14T06:32:52Z

# Line 1033 | Line 1033 | fi
1033   AC_MSG_RESULT($HAVE_ICC)
1034  
1035   dnl Determine the generated object format
1036 < AC_CACHE_CHECK([whether the compiler can generate ELF objects],
1036 > AC_CACHE_CHECK([the format of compiler generated objects],
1037    ac_cv_object_format, [
1038    echo 'int i;' > conftest.$ac_ext
1039    ac_cv_object_format=no
# Line 1042 | Line 1042 | AC_CACHE_CHECK([whether the compiler can
1042      *"ELF"*)
1043        ac_cv_object_format=elf
1044        ;;
1045 +    *"Mach-O"*)
1046 +      ac_cv_object_format=mach
1047 +      ;;
1048      *)
1049        ac_cv_object_format=unknown
1050        ;;
# Line 1074 | Line 1077 | if [[ "x$EMULATED_PPC" = "xyes" ]]; then
1077        i?86:elf)
1078          ac_cv_use_dyngen=yes
1079          ;;
1080 +      powerpc:mach)
1081 +        ac_cv_use_dyngen=yes
1082 +        ;;
1083        *:*)
1084          ac_cv_use_dyngen=no
1085          ;;
# Line 1099 | Line 1105 | if [[ "x$EMULATED_PPC" = "xyes" ]]; then
1105        case $host_cpu in
1106        i?86)
1107          DYNGEN_OP_FLAGS="-fomit-frame-pointer -mpreferred-stack-boundary=2"
1108 <        if [[ "x$HAVE_GCC30" = "xyes" ]]; then
1109 <          DYNGEN_OP_FLAGS="$DYNGEN_OP_FLAGS -falign-functions=0"
1110 <        else
1111 <          DYNGEN_OP_FLAGS="$DYNGEN_OP_FLAGS -malign-functions=0"
1108 >        ;;
1109 >      powerpc)
1110 >        if [[ "x$ac_cv_object_format" = "xmach" ]]; then
1111 >          DYNGEN_OP_FLAGS="-mdynamic-no-pic"
1112          fi
1113          ;;
1114        esac
1115 <      DYNGEN_OP_FLAGS="$DYNGEN_OP_FLAGS -finline-limit=10000 -g0"
1115 >      if [[ "x$HAVE_GCC30" = "xyes" ]]; then
1116 >        DYNGEN_OP_FLAGS="$DYNGEN_OP_FLAGS -falign-functions=0"
1117 >      else
1118 >        DYNGEN_OP_FLAGS="$DYNGEN_OP_FLAGS -malign-functions=0"
1119 >      fi
1120 >      DYNGEN_OP_FLAGS="$DYNGEN_OP_FLAGS -finline-limit=10000 -fno-exceptions -g0"
1121        if [[ "x$HAVE_GCC30" = "xyes" ]]; then
1122          DYNGEN_OP_FLAGS="$DYNGEN_OP_FLAGS -fno-reorder-blocks -fno-optimize-sibling-calls"
1123        fi

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines