leif wrote:
Ok, here's minimalist's quick'n'dirty temporary solution;
minimally-invasive in that it touches only one file and affects only
Darwin x86_64 :-) :

--- mpir-2.7.0-alpha2/configure.ac
+++ mpir-2.7.0-alpha2/configure.ac
@@ -2843,15 +2843,18 @@
            ;;

          64)
+          GMP_INCLUDE_MPN(x86_64/x86_64-defs.m4)
            case $host in
              *-*-darwin*)
+              # Defined in mpn/x86_64/x86_64-defs.m4, but there currently
+              # hardcoded just for ELF, so redefine it here for Mach-O:
+              GMP_DEFINE_RAW(["define(\`JUMPTABSECT',RODATA)"],POST)
                OBJECT_FORMAT="-f macho64" ;;
              *-w64-mingw*|*-*-cygwin*)
                OBJECT_FORMAT="-f x64"  ;;
              *)
                OBJECT_FORMAT="-f elf64" ;;
            esac
-          GMP_INCLUDE_MPN(x86_64/x86_64-defs.m4)
            ;;
        esac
        AC_SUBST(OBJECT_FORMAT)


Patched tarball (of course also including a re-autoconfed 'configure')
for the Apple fanboys to test is available here:

http://boxen.math.washington.edu/home/leif/tmp/mpir-2.7.0-alpha2-patched_for_darwin-x86_64.tar.bz2


Update, please try this one:

http://boxen.math.washington.edu/home/leif/tmp/mpir-2.7.0-alpha3-patched_for_darwin-x86_64.tar.bz2

(extracts to mpir-2.7.0-alpha3-patched/ )


-leif

Happy testing, we want to include it into Sage soon I think,


-leif


P.S.:  Haven't looked at Darwin PPC at all, but in case there should be
any issues, they'll be different... :-)

--
() The ASCII Ribbon Campaign
/\   Help Cure HTML E-Mail

--
You received this message because you are subscribed to the Google Groups 
"mpir-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mpir-devel+unsubscr...@googlegroups.com.
To post to this group, send email to mpir-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/mpir-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to