Hello,
when applying gmp-4.3.1-w64.patch, some of entries for configure script
are been rejected due to inconsistance between 20091006 tarball's
configure and patch...
Most rejected entries are just about line echoing, but the last one is
more important and rejected due to context comment differences between
configure file and lines searched by patch.
here will you find a diff file that reflects (normally) correctly change
that have to be made (in place of them tempted by gmp-4.3.1-w64.patch in
configure script)
Sorry for my poor english, it isn't my natural language
koala01
4242,4249d4241
< case $host in
< *-*-solaris*)
< # Sun cc.
< cclist_64="$cclist_64 cc"
< cc_64_cflags="-xO3 -m64"
< ;;
< esac
<
4268a4261,4274
>
> case $host in
> *-*-solaris*)
> # Sun cc.
> cclist_64="$cclist_64 cc"
> cc_64_cflags="-xO3 -m64"
> ;;
> *-*-mingw*)
> limb_64=longlong
> path_64="" # Windows amd64 calling conventions are *different*
> # Silence many pedantic warnings for w64. FIXME.
> gcc_64_cflags="$gcc_64_cflags -std=gnu99"
> ;;
> esac
11584c11590
< echo '#line 11584 "configure"' > conftest.$ac_ext
---
> echo '#line 11590 "configure"' > conftest.$ac_ext
13402c13408
< (eval echo "\"\$as_me:13402: $lt_compile\"" >&5)
---
> (eval echo "\"\$as_me:13408: $lt_compile\"" >&5)
13692c13698
< (eval echo "\"\$as_me:13692: $lt_compile\"" >&5)
---
> (eval echo "\"\$as_me:13698: $lt_compile\"" >&5)
13696c13702
< echo "$as_me:13696: \$? = $ac_status" >&5
---
> echo "$as_me:137002: \$? = $ac_status" >&5
13796c13802
< (eval echo "\"\$as_me:13796: $lt_compile\"" >&5)
---
> (eval echo "\"\$as_me:13802: $lt_compile\"" >&5)
13800c13806
< echo "$as_me:13800: \$? = $ac_status" >&5
---
> echo "$as_me:13806: \$? = $ac_status" >&5
18709c18715
< (eval echo "\"\$as_me:18709: $lt_compile\"" >&5)
---
> (eval echo "\"\$as_me:18715: $lt_compile\"" >&5)
18713c18719
< echo "$as_me:18713: \$? = $ac_status" >&5
---
> echo "$as_me:18719: \$? = $ac_status" >&5
18813c18819
< (eval echo "\"\$as_me:18813: $lt_compile\"" >&5)
---
> (eval echo "\"\$as_me:18819: $lt_compile\"" >&5)
18817c18823
< echo "$as_me:18817: \$? = $ac_status" >&5
---
> echo "$as_me:18823: \$? = $ac_status" >&5
20375c20381
< (eval echo "\"\$as_me:20375: $lt_compile\"" >&5)
---
> (eval echo "\"\$as_me:20381: $lt_compile\"" >&5)
20379c20385
< echo "$as_me:20379: \$? = $ac_status" >&5
---
> echo "$as_me:20385: \$? = $ac_status" >&5
20479c20485
< (eval echo "\"\$as_me:20479: $lt_compile\"" >&5)
---
> (eval echo "\"\$as_me:20485: $lt_compile\"" >&5)
20483c20489
< echo "$as_me:20483: \$? = $ac_status" >&5
---
> echo "$as_me:20489: \$? = $ac_status" >&5
22674c22680
< (eval echo "\"\$as_me:22674: $lt_compile\"" >&5)
---
> (eval echo "\"\$as_me:22680: $lt_compile\"" >&5)
22678c22684
< echo "$as_me:22678: \$? = $ac_status" >&5
---
> echo "$as_me:22684: \$? = $ac_status" >&5
22964c22970
< (eval echo "\"\$as_me:22964: $lt_compile\"" >&5)
---
> (eval echo "\"\$as_me:22970: $lt_compile\"" >&5)
22968c22974
< echo "$as_me:22968: \$? = $ac_status" >&5
---
> echo "$as_me:22974: \$? = $ac_status" >&5
23068c23074
< (eval echo "\"\$as_me:23068: $lt_compile\"" >&5)
---
> (eval echo "\"\$as_me:23074: $lt_compile\"" >&5)
23072c23078
< echo "$as_me:23072: \$? = $ac_status" >&5
---
> echo "$as_me:23078: \$? = $ac_status" >&5
32154,32158c32160,32639
< #
< # The cast to long int works around a bug in the HP C Compiler
< # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
< # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
< # This bug is HP SR number 8606223364.
---
>
> echo "$as_me:$LINENO: checking for intptr_t" >&5
> echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
> if test "${ac_cv_type_intptr_t+set}" = set; then
> echo $ECHO_N "(cached) $ECHO_C" >&6
> else
> cat >conftest.$ac_ext <<_ACEOF
> /* confdefs.h. */
> _ACEOF
> cat confdefs.h >>conftest.$ac_ext
> cat >>conftest.$ac_ext <<_ACEOF
> /* end confdefs.h. */
> $ac_includes_default
> int
> main ()
> {
> if ((intptr_t *) 0)
> return 0;
> if (sizeof (intptr_t))
> return 0;
> ;
> return 0;
> }
> _ACEOF
> rm -f conftest.$ac_objext
> if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
> (eval $ac_compile) 2>conftest.er1
> ac_status=$?
> grep -v '^ *+' conftest.er1 >conftest.err
> rm -f conftest.er1
> cat conftest.err >&5
> echo "$as_me:$LINENO: \$? = $ac_status" >&5
> (exit $ac_status); } &&
> { ac_try='test -z "$ac_c_werror_flag"
> || test ! -s conftest.err'
> { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
> (eval $ac_try) 2>&5
> ac_status=$?
> echo "$as_me:$LINENO: \$? = $ac_status" >&5
> (exit $ac_status); }; } &&
> { ac_try='test -s conftest.$ac_objext'
> { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
> (eval $ac_try) 2>&5
> ac_status=$?
> echo "$as_me:$LINENO: \$? = $ac_status" >&5
> (exit $ac_status); }; }; then
> ac_cv_type_intptr_t=yes
> else
> echo "$as_me: failed program was:" >&5
> sed 's/^/| /' conftest.$ac_ext >&5
>
> ac_cv_type_intptr_t=no
> fi
> rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
> fi
> echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
> echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
> if test $ac_cv_type_intptr_t = yes; then
>
> cat >>confdefs.h <<_ACEOF
> #define HAVE_INTPTR_T 1
> _ACEOF
>
>
> fi
>
> echo "$as_me:$LINENO: checking for void *" >&5
> echo $ECHO_N "checking for void *... $ECHO_C" >&6
> if test "${ac_cv_type_void_p+set}" = set; then
> echo $ECHO_N "(cached) $ECHO_C" >&6
> else
> cat >conftest.$ac_ext <<_ACEOF
> /* confdefs.h. */
> _ACEOF
> cat confdefs.h >>conftest.$ac_ext
> cat >>conftest.$ac_ext <<_ACEOF
> /* end confdefs.h. */
> $ac_includes_default
> int
> main ()
> {
> if ((void * *) 0)
> return 0;
> if (sizeof (void *))
> return 0;
> ;
> return 0;
> }
> _ACEOF
> rm -f conftest.$ac_objext
> if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
> (eval $ac_compile) 2>conftest.er1
> ac_status=$?
> grep -v '^ *+' conftest.er1 >conftest.err
> rm -f conftest.er1
> cat conftest.err >&5
> echo "$as_me:$LINENO: \$? = $ac_status" >&5
> (exit $ac_status); } &&
> { ac_try='test -z "$ac_c_werror_flag"
> || test ! -s conftest.err'
> { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
> (eval $ac_try) 2>&5
> ac_status=$?
> echo "$as_me:$LINENO: \$? = $ac_status" >&5
> (exit $ac_status); }; } &&
> { ac_try='test -s conftest.$ac_objext'
> { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
> (eval $ac_try) 2>&5
> ac_status=$?
> echo "$as_me:$LINENO: \$? = $ac_status" >&5
> (exit $ac_status); }; }; then
> ac_cv_type_void_p=yes
> else
> echo "$as_me: failed program was:" >&5
> sed 's/^/| /' conftest.$ac_ext >&5
>
> ac_cv_type_void_p=no
> fi
> rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
> fi
> echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
> echo "${ECHO_T}$ac_cv_type_void_p" >&6
>
> echo "$as_me:$LINENO: checking size of void *" >&5
> echo $ECHO_N "checking size of void *... $ECHO_C" >&6
> if test "${ac_cv_sizeof_void_p+set}" = set; then
> echo $ECHO_N "(cached) $ECHO_C" >&6
> else
> if test "$ac_cv_type_void_p" = yes; then
> # The cast to unsigned long works around a bug in the HP C Compiler
> # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
> # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
> # This bug is HP SR number 8606223364.
> if test "$cross_compiling" = yes; then
> # Depending upon the size, compute the lo and hi bounds.
> cat >conftest.$ac_ext <<_ACEOF
> /* confdefs.h. */
> _ACEOF
> cat confdefs.h >>conftest.$ac_ext
> cat >>conftest.$ac_ext <<_ACEOF
> /* end confdefs.h. */
> $ac_includes_default
> int
> main ()
> {
> static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
> test_array [0] = 0
>
> ;
> return 0;
> }
> _ACEOF
> rm -f conftest.$ac_objext
> if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
> (eval $ac_compile) 2>conftest.er1
> ac_status=$?
> grep -v '^ *+' conftest.er1 >conftest.err
> rm -f conftest.er1
> cat conftest.err >&5
> echo "$as_me:$LINENO: \$? = $ac_status" >&5
> (exit $ac_status); } &&
> { ac_try='test -z "$ac_c_werror_flag"
> || test ! -s conftest.err'
> { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
> (eval $ac_try) 2>&5
> ac_status=$?
> echo "$as_me:$LINENO: \$? = $ac_status" >&5
> (exit $ac_status); }; } &&
> { ac_try='test -s conftest.$ac_objext'
> { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
> (eval $ac_try) 2>&5
> ac_status=$?
> echo "$as_me:$LINENO: \$? = $ac_status" >&5
> (exit $ac_status); }; }; then
> ac_lo=0 ac_mid=0
> while :; do
> cat >conftest.$ac_ext <<_ACEOF
> /* confdefs.h. */
> _ACEOF
> cat confdefs.h >>conftest.$ac_ext
> cat >>conftest.$ac_ext <<_ACEOF
> /* end confdefs.h. */
> $ac_includes_default
> int
> main ()
> {
> static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
> test_array [0] = 0
>
> ;
> return 0;
> }
> _ACEOF
> rm -f conftest.$ac_objext
> if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
> (eval $ac_compile) 2>conftest.er1
> ac_status=$?
> grep -v '^ *+' conftest.er1 >conftest.err
> rm -f conftest.er1
> cat conftest.err >&5
> echo "$as_me:$LINENO: \$? = $ac_status" >&5
> (exit $ac_status); } &&
> { ac_try='test -z "$ac_c_werror_flag"
> || test ! -s conftest.err'
> { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
> (eval $ac_try) 2>&5
> ac_status=$?
> echo "$as_me:$LINENO: \$? = $ac_status" >&5
> (exit $ac_status); }; } &&
> { ac_try='test -s conftest.$ac_objext'
> { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
> (eval $ac_try) 2>&5
> ac_status=$?
> echo "$as_me:$LINENO: \$? = $ac_status" >&5
> (exit $ac_status); }; }; then
> ac_hi=$ac_mid; break
> else
> echo "$as_me: failed program was:" >&5
> sed 's/^/| /' conftest.$ac_ext >&5
>
> ac_lo=`expr $ac_mid + 1`
> if test $ac_lo -le $ac_mid; then
> ac_lo= ac_hi=
> break
> fi
> ac_mid=`expr 2 '*' $ac_mid + 1`
> fi
> rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
> done
> else
> echo "$as_me: failed program was:" >&5
> sed 's/^/| /' conftest.$ac_ext >&5
>
> cat >conftest.$ac_ext <<_ACEOF
> /* confdefs.h. */
> _ACEOF
> cat confdefs.h >>conftest.$ac_ext
> cat >>conftest.$ac_ext <<_ACEOF
> /* end confdefs.h. */
> $ac_includes_default
> int
> main ()
> {
> static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
> test_array [0] = 0
>
> ;
> return 0;
> }
> _ACEOF
> rm -f conftest.$ac_objext
> if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
> (eval $ac_compile) 2>conftest.er1
> ac_status=$?
> grep -v '^ *+' conftest.er1 >conftest.err
> rm -f conftest.er1
> cat conftest.err >&5
> echo "$as_me:$LINENO: \$? = $ac_status" >&5
> (exit $ac_status); } &&
> { ac_try='test -z "$ac_c_werror_flag"
> || test ! -s conftest.err'
> { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
> (eval $ac_try) 2>&5
> ac_status=$?
> echo "$as_me:$LINENO: \$? = $ac_status" >&5
> (exit $ac_status); }; } &&
> { ac_try='test -s conftest.$ac_objext'
> { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
> (eval $ac_try) 2>&5
> ac_status=$?
> echo "$as_me:$LINENO: \$? = $ac_status" >&5
> (exit $ac_status); }; }; then
> ac_hi=-1 ac_mid=-1
> while :; do
> cat >conftest.$ac_ext <<_ACEOF
> /* confdefs.h. */
> _ACEOF
> cat confdefs.h >>conftest.$ac_ext
> cat >>conftest.$ac_ext <<_ACEOF
> /* end confdefs.h. */
> $ac_includes_default
> int
> main ()
> {
> static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
> test_array [0] = 0
>
> ;
> return 0;
> }
> _ACEOF
> rm -f conftest.$ac_objext
> if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
> (eval $ac_compile) 2>conftest.er1
> ac_status=$?
> grep -v '^ *+' conftest.er1 >conftest.err
> rm -f conftest.er1
> cat conftest.err >&5
> echo "$as_me:$LINENO: \$? = $ac_status" >&5
> (exit $ac_status); } &&
> { ac_try='test -z "$ac_c_werror_flag"
> || test ! -s conftest.err'
> { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
> (eval $ac_try) 2>&5
> ac_status=$?
> echo "$as_me:$LINENO: \$? = $ac_status" >&5
> (exit $ac_status); }; } &&
> { ac_try='test -s conftest.$ac_objext'
> { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
> (eval $ac_try) 2>&5
> ac_status=$?
> echo "$as_me:$LINENO: \$? = $ac_status" >&5
> (exit $ac_status); }; }; then
> ac_lo=$ac_mid; break
> else
> echo "$as_me: failed program was:" >&5
> sed 's/^/| /' conftest.$ac_ext >&5
>
> ac_hi=`expr '(' $ac_mid ')' - 1`
> if test $ac_mid -le $ac_hi; then
> ac_lo= ac_hi=
> break
> fi
> ac_mid=`expr 2 '*' $ac_mid`
> fi
> rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
> done
> else
> echo "$as_me: failed program was:" >&5
> sed 's/^/| /' conftest.$ac_ext >&5
>
> ac_lo= ac_hi=
> fi
> rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
> fi
> rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
> # Binary search between lo and hi bounds.
> while test "x$ac_lo" != "x$ac_hi"; do
> ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
> cat >conftest.$ac_ext <<_ACEOF
> /* confdefs.h. */
> _ACEOF
> cat confdefs.h >>conftest.$ac_ext
> cat >>conftest.$ac_ext <<_ACEOF
> /* end confdefs.h. */
> $ac_includes_default
> int
> main ()
> {
> static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
> test_array [0] = 0
>
> ;
> return 0;
> }
> _ACEOF
> rm -f conftest.$ac_objext
> if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
> (eval $ac_compile) 2>conftest.er1
> ac_status=$?
> grep -v '^ *+' conftest.er1 >conftest.err
> rm -f conftest.er1
> cat conftest.err >&5
> echo "$as_me:$LINENO: \$? = $ac_status" >&5
> (exit $ac_status); } &&
> { ac_try='test -z "$ac_c_werror_flag"
> || test ! -s conftest.err'
> { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
> (eval $ac_try) 2>&5
> ac_status=$?
> echo "$as_me:$LINENO: \$? = $ac_status" >&5
> (exit $ac_status); }; } &&
> { ac_try='test -s conftest.$ac_objext'
> { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
> (eval $ac_try) 2>&5
> ac_status=$?
> echo "$as_me:$LINENO: \$? = $ac_status" >&5
> (exit $ac_status); }; }; then
> ac_hi=$ac_mid
> else
> echo "$as_me: failed program was:" >&5
> sed 's/^/| /' conftest.$ac_ext >&5
>
> ac_lo=`expr '(' $ac_mid ')' + 1`
> fi
> rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
> done
> case $ac_lo in
> ?*) ac_cv_sizeof_void_p=$ac_lo;;
> '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
> See \`config.log' for more details." >&5
> echo "$as_me: error: cannot compute sizeof (void *), 77
> See \`config.log' for more details." >&2;}
> { (exit 1); exit 1; }; } ;;
> esac
> else
> if test "$cross_compiling" = yes; then
> { { echo "$as_me:$LINENO: error: cannot run test program while cross
> compiling
> See \`config.log' for more details." >&5
> echo "$as_me: error: cannot run test program while cross compiling
> See \`config.log' for more details." >&2;}
> { (exit 1); exit 1; }; }
> else
> cat >conftest.$ac_ext <<_ACEOF
> /* confdefs.h. */
> _ACEOF
> cat confdefs.h >>conftest.$ac_ext
> cat >>conftest.$ac_ext <<_ACEOF
> /* end confdefs.h. */
> $ac_includes_default
> long longval () { return (long) (sizeof (void *)); }
> unsigned long ulongval () { return (long) (sizeof (void *)); }
> #include <stdio.h>
> #include <stdlib.h>
> int
> main ()
> {
>
> FILE *f = fopen ("conftest.val", "w");
> if (! f)
> exit (1);
> if (((long) (sizeof (void *))) < 0)
> {
> long i = longval ();
> if (i != ((long) (sizeof (void *))))
> exit (1);
> fprintf (f, "%ld\n", i);
> }
> else
> {
> unsigned long i = ulongval ();
> if (i != ((long) (sizeof (void *))))
> exit (1);
> fprintf (f, "%lu\n", i);
> }
> exit (ferror (f) || fclose (f) != 0);
>
> ;
> return 0;
> }
> _ACEOF
> rm -f conftest$ac_exeext
> if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
> (eval $ac_link) 2>&5
> ac_status=$?
> echo "$as_me:$LINENO: \$? = $ac_status" >&5
> (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
> { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
> (eval $ac_try) 2>&5
> ac_status=$?
> echo "$as_me:$LINENO: \$? = $ac_status" >&5
> (exit $ac_status); }; }; then
> ac_cv_sizeof_void_p=`cat conftest.val`
> else
> echo "$as_me: program exited with status $ac_status" >&5
> echo "$as_me: failed program was:" >&5
> sed 's/^/| /' conftest.$ac_ext >&5
>
> ( exit $ac_status )
> { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
> See \`config.log' for more details." >&5
> echo "$as_me: error: cannot compute sizeof (void *), 77
> See \`config.log' for more details." >&2;}
> { (exit 1); exit 1; }; }
> fi
> rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext
> conftest.$ac_ext
> fi
> fi
> rm -f conftest.val
> else
> ac_cv_sizeof_void_p=0
> fi
> fi
> echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
> echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
> cat >>confdefs.h <<_ACEOF
> #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
> _ACEOF
>
>
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public