[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gcl-devel] Windows patch - detect MP_INCLUDE during configure
From: |
Camm Maguire |
Subject: |
Re: [Gcl-devel] Windows patch - detect MP_INCLUDE during configure |
Date: |
Fri, 29 Aug 2014 12:35:03 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) |
Greetings! I have something in git tag Version_2_6_11pre now that seems
to work. Please let me know if problems persist.
Take care,
David Billinghurst <address@hidden> writes:
> On 22/11/2013 11:26 AM, David Billinghurst wrote:
>> A windows configure fails to set MP_INCLUDE, and therefore doesn't
>> use the system gmp library,
>> since the path to the file gmp.h uses \\ rather than /
>>
>> Fixed by the following patch for gcl-2.6.10
>>
>> *** configure.in.orig Fri Nov 22 11:15:36 2013
>> --- configure.in Fri Nov 22 11:16:46 2013
>> ***************
>> *** 784,790 ****
>> TLIBS="$TLIBS -lgmp"
>> echo "#include \"gmp.h\"" >foo.c
>> echo "int main() {return 0;}" >>foo.c
>> ! MP_INCLUDE=`cpp foo.c | grep /gmp.h | head -n 1 |
>> $AWK '{print $3}' | tr -d '"'`
>> rm -f foo.c,
>> echo "Cannot use dynamic gmp lib" , echo "Cannot
>> use dynamic gmp lib" ),
>> echo "Cannot use dynamic gmp lib" ,),
>> --- 784,790 ----
>> TLIBS="$TLIBS -lgmp"
>> echo "#include \"gmp.h\"" >foo.c
>> echo "int main() {return 0;}" >>foo.c
>> ! MP_INCLUDE=`cpp foo.c | grep "[/\|\\]gmp.h" | head
>> -n 1 | $AWK '{print $3}' | tr -d '"'`
>> rm -f foo.c,
>> echo "Cannot use dynamic gmp lib" , echo "Cannot
>> use dynamic gmp lib" ),
>> echo "Cannot use dynamic gmp lib" ,),
>>
>
> I still need to apply this patch to gcl-2.6.11pre. It is needed to
> build with the system gmp dll on windows.
>
> _______________________________________________
> Gcl-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/gcl-devel
>
>
>
>
--
Camm Maguire address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah