[M3devel] a hope for dynamic linking!

Tony Hosking hosking at cs.purdue.edu
Sat Apr 19 18:09:37 CEST 2008


I just ran into this one myself.  Looks like this version of mpfr  
doesn't play totally nicely with building within gcc.

I've commented out the following lines in mpfr/Makefile.in which  
appear to do the trick.  If so, then I will commit it...

get_patches.c: PATCHES get_patches.sh
         ./get_patches.sh > $@ || rm -f $@


On Apr 19, 2008, at 11:46 AM, Jay wrote:

> building with the in-gcc-tree gmp/mpfr:
>
>  gcc -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DTIME_WITH_SYS_TIME=1 - 
> DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SETLOCALE=1 - 
> DHAVE_GETTIMEOFDAY=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_ROUND=1 - 
> DHAVE_TRUNC=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1 -DHAVE_NEARBYINT=1 - 
> DHAVE_ATTRIBUTE_MODE=1 -DHAVE_ALLOCA_H=1 -I. -I../../gcc/mpfr -I/ 
> dev2/cm3/m3-sys/m3cc/PPC_DARWIN/./gmp -I/dev2/cm3/m3-sys/m3cc/ 
> PPC_DARWIN/./gmp/tune -g -MT remquo.lo -MD -MP -MF .deps/remquo.Tpo - 
> c ../../gcc/mpfr/remquo.c -o remquo.o
> ./get_patches.sh > get_patches.c || rm -f get_patches.c
> /bin/sh: line 1: ./get_patches.sh: No such file or directory
> if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_INTTYPES_H=1  
> -DHAVE_STDINT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STDARG=1 - 
> DHAVE_SYS_TIME_H=1 -DHAVE_SETLOCALE=1 -DHAVE_GETTIMEOFDAY=1 - 
> DMPFR_HAVE_FESETROUND=1 -DHAVE_ROUND=1 -DHAVE_TRUNC=1 -DHAVE_FLOOR=1  
> -DHAVE_CEIL=1 -DHAVE_NEARBYINT=1 -DHAVE_ATTRIBUTE_MODE=1 - 
> DHAVE_ALLOCA_H=1  -I. -I../../gcc/mpfr   -I/dev2/cm3/m3-sys/m3cc/ 
> PPC_DARWIN/./gmp -I/dev2/cm3/m3-sys/m3cc/PPC_DARWIN/./gmp/tune  -g - 
> MT get_patches.lo -MD -MP -MF ".deps/get_patches.Tpo" -c -o  
> get_patches.lo get_patches.c; \
> then mv -f ".deps/get_patches.Tpo" ".deps/get_patches.Plo"; else rm - 
> f ".deps/get_patches.Tpo"; exit 1; fi
>  gcc -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DTIME_WITH_SYS_TIME=1 - 
> DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SETLOCALE=1 - 
> DHAVE_GETTIMEOFDAY=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_ROUND=1 - 
> DHAVE_TRUNC=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1 -DHAVE_NEARBYINT=1 - 
> DHAVE_ATTRIBUTE_MODE=1 -DHAVE_ALLOCA_H=1 -I. -I../../gcc/mpfr -I/ 
> dev2/cm3/m3-sys/m3cc/PPC_DARWIN/./gmp -I/dev2/cm3/m3-sys/m3cc/ 
> PPC_DARWIN/./gmp/tune -g -MT get_patches.lo -MD -MP -MF .deps/ 
> get_patches.Tpo -c get_patches.c -o get_patches.o
> powerpc-apple-darwin8-gcc-4.0.1: get_patches.c: No such file or  
> directory
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20080419/199e9890/attachment-0002.html>


More information about the M3devel mailing list