Bill Hart wrote:
Can you tell me what the changes are so I can merge them?


diff -Naur mpir-2.7.0-alpha3/configure mpir-2.7.0-alpha3-patched/configure
--- mpir-2.7.0-alpha3/configure
+++ mpir-2.7.0-alpha3-patched/configure
@@ -25408,7 +25408,7 @@
               # Defined in mpn/x86_64/x86_64-defs.m4, but there currently
               # hardcoded just for ELF, so redefine it here for Mach-O:

-echo "define(\`JUMPTABSECT',RODATA)" >> $gmp_tmpconfigm4p
+echo "define(\`JUMPTABSECT',\` .section __DATA,__const')" >> $gmp_tmpconfigm4p

               OBJECT_FORMAT="-f macho64" ;;
             *-w64-mingw*|*-*-cygwin*)
diff -Naur mpir-2.7.0-alpha3/configure.ac mpir-2.7.0-alpha3-patched/configure.ac
--- mpir-2.7.0-alpha3/configure.ac
+++ mpir-2.7.0-alpha3-patched/configure.ac
@@ -2847,7 +2847,7 @@
             *-*-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)
+ GMP_DEFINE_RAW(["define(\`JUMPTABSECT',\` .section __DATA,__const')"],POST)
               OBJECT_FORMAT="-f macho64" ;;
             *-w64-mingw*|*-*-cygwin*)
               OBJECT_FORMAT="-f x64"  ;;


-leif


On 6 April 2014 18:03, leif <not.rea...@online.de
<mailto:not.rea...@online.de>> wrote:

    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 <http://configure.ac>
        +++ mpir-2.7.0-alpha2/configure.ac <http://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
        
<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
    
<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 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to