This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Problems compiling the GCC 4.3.5
Hi,
The prefix you set in the gmp and mpfr need to match the path in the
--with-gmp= and --with-mpfr= gcc configure options.
On Fri, Jan 28, 2011 at 8:12 AM, Paul van Hoven
<paul.van.hoven@googlemail.com> wrote:
> I had a look in to the config.log in
>
> i386-apple-darwin10.6.0/libgcc/config.log
>
> and I found the following:
>
> dyld: Library not loaded:
> /Users/toom/Downloads/mpfr-3.0.0/build/lib/libmpfr.4.dylib
> ?Referenced from: /Users/toom/Downloads/gcc-4.3.5/obj-gcc-4.3.5/./gcc/cc1
> ?Reason: image not found
> xgcc: Internal error: Trace/BPT trap (program cc1)
> Please submit a full bug report.
>
> When I compiled mpfr and gmp I did it with the following call to the
> configure script
> gmp:
> ./configure --prefix=/Users/toom/Downloads/gmp-5.0.1/build/
> make
> make install
>
> and mpfr with
> ./configure --prefix=/Users/toom/Downloads/mpfr-3.0.0/build
> --with-gmp=/Users/toom/Downloads/gmp-5.0.1/build/
> make
> make install
>
> After that I moved the compiled stuff into a directory called
> /Users/toom/gcc4.3.5/requiredLibs/gmp-5.0.1
> and
> /Users/toom/gcc4.3.5/requiredLibs/mpfr-3.0.0
> respectively.
>
> Therefore I think make looked into a wrong directory.
>
>
> But the compile process now terminates with another error message, which I
> don't understand either:
>
> The source of gcc-4.3.5 lies in
> /Users/toom/Downloads/gcc-4.3.5/gcc-4.3.5
>
> And in the directory:
> /Users/toom/Downloads/gcc-4.3.5/obj-gcc-4.3.5
>
> I typed the following commands:
> ../gcc-4.3.5/configure --prefix=/Users/toom/gcc4.3.5
> --with-mpfr=/Users/toom/gcc4.3.5/requiredLibs/mpfr-3.0.0
> --with-gmp=/Users/toom/gcc4.3.5/requiredLibs/gmp-5.0.1
> make bootstrap
>
> ...
> checking whether decimal floating point is supported... no
> checking whether fixed-point is supported... no
> checking for __attribute__((visibility("hidden")))... yes
> checking whether the target asssembler upports thread-local storage... yes
> updating cache ./config.cache
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: executing default commands
> Adding multilib support to Makefile in ../../../../gcc-4.3.5/libgcc
> with_multisubdir=x86_64
> Makefile:144: ../../host-i386-apple-darwin10.6.0/gcc/libgcc.mvars: No such
> file or directory
> make[3]: *** No rule to make target
> `../../host-i386-apple-darwin10.6.0/gcc/libgcc.mvars'. ?Stop.
Sorry, but I do not know what this file is?