gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gcl-devel] Please check out this patch GMP against 2.6.4.


From: Camm Maguire
Subject: Re: [Gcl-devel] Please check out this patch GMP against 2.6.4.
Date: 13 Aug 2004 10:22:33 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Greetings!

"Mike Thomas" <address@hidden> writes:

> OK.
> 
> | OK, could you please try with --disable-dynsysgmp?  This should work
> | exactly as before.
> 
> Just confirming that it builds on Windows as follows:
> 
> $ make clean;time
> ./configure --enable-ansi --enable-japi --disable-dynsysgmp -
> -prefix=c:/lang/gcl-264-2 >configure.log 2>&1; time make >make.log 2>&1;
> rm -rf
>  c:/lang/gcl-264-2; time make install >make_install.log 2>&1
> 
> |  Perhaps we can default to this in configure, but I
> | especially wanted to save you the build time.  If you can work out the
> | sed/bash issue, I'm hoping dynamic gmp will work for you.
> 
> Thanks for the thought.  It worked in the unpatched source tree.
> Unfortunately this will probably have to wait until next week, so feel free
> to go ahead if time is against you.
> 

Great!  On the dynamic gmp front, though, the stanza

gmpfiles: $(shell find ../$(GMPDIR) -name "*.o" |grep -v '\.lib')
        rm -rf gmp
        mkdir gmp
        a="$^" ; \
        for i in $^ ; do \
                cp $$i gmp/$$(echo $$i | sed -e 's,\.\./,,1' -e 's,/,_,g') ; \
        done
        touch $@

should now produce and empty gmp subdirectory as we are no longer
patching/compiling any local gmp symbols when not disalbing dynsysgmp
(unlike before even with dynsysgmp).  You might want to check that $^
is empty here, say by

foo: $(shell find ../$(GMPDIR) -name "*.o" |grep -v '\.lib')
        echo $^

and make foo in unixport.  You must be having some stray .o file in
gmp3 which does not survive the sed modification well.

Take care,

> Cheers
> 
> Mike Thomas.
> 
> 
> 
> 
> 

-- 
Camm Maguire                                            address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah




reply via email to

[Prev in Thread] Current Thread [Next in Thread]