config/gmp_mpfr/gmp.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Jul 31 09:08:33 2008 +0000 (2008-07-31)
changeset 752 b037a5643e04
parent 466 7f9bbf94b0bb
child 902 25bd163c6886
permissions -rw-r--r--
Have the glibc build use the cross-objdump, rather than the host one.
On some distros (eg. Fedora), the native objdump can not interpret objects not for the native system, and thus fail.
This commit adds a new patch against glibc-2.7 that introduces OBJDUMP_FOR_HOST, wich, if set, overides the detected objdump.

Note: bizarely enough, glibc already has code to detect the cross-objdump, but that does not work for an unknown reason... :-(

/trunk/patches/glibc/2.7/220-objdump_for_host.patch | 13 13 0 0 +++++++++
/trunk/scripts/build/libc_glibc.sh | 37 21 16 0 +++++++++++++++------------
2 files changed, 34 insertions(+), 16 deletions(-)
     1 # GMP options
     2 
     3 choice
     4     bool
     5     prompt "GMP version"
     6 
     7 config GMP_V_4_2_2
     8     bool
     9     prompt "4.2.2"
    10 
    11 # CT_INSERT_VERSION_ABOVE
    12 # Don't remove above line!
    13 endchoice
    14 
    15 config GMP_VERSION
    16     string
    17     default "4.2.2" if GMP_V_4_2_2
    18 # CT_INSERT_VERSION_STRING_ABOVE
    19 # Don't remove above line!
    20 
    21 config GMP_CHECK
    22     bool
    23     prompt "Check GMP"
    24     default y
    25     help
    26       It is highly recommended that 'make check' is run against the newly built
    27       GMP library. See http://gmplib.org/