This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problems compiling the GCC 4.3.5


On 27 January 2011 20:10, Paul van Hoven wrote:
> I now created the following directory structure (outside the source
> directory):
>
> The build directory
> /Users/toom/Downloads/gcc-4.3.5/obj-gcc-4.3.5
> The source directory
> /Users/toom/Downloads/gcc-4.3.5/gcc-4.3.5
>
> Then in obj-gcc-4.3.5 I ran 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
>
> I still get the same error message
> checking whether ln -s works... yes
> checking for i386-apple-darwin10.6.0-gcc...
> /Users/toom/Downloads/gcc-4.3.5/obj-gcc-4.3.5/./gcc/xgcc
> -B/Users/toom/Downloads/gcc-4.3.5/obj-gcc-4.3.5/./gcc/
> -B/Users/toom/gcc4.3.5//i386-apple-darwin10.6.0/bin/
> -B/Users/toom/gcc4.3.5//i386-apple-darwin10.6.0/lib/ -isystem
> /Users/toom/gcc4.3.5//i386-apple-darwin10.6.0/include -isystem
> /Users/toom/gcc4.3.5//i386-apple-darwin10.6.0/sys-include
> checking for suffix of object files... configure: error: cannot compute
> suffix of object files: cannot compile
> See `config.log' for more details.
> make[2]: *** [configure-stage1-target-libgcc] Error 1
> make[1]: *** [stage1-bubble] Error 2
> make: *** [bootstrap] Error 2

Have you set LD_LIBRARY_PATH or done something equivalent so that the
runtime linker can find libgmp.so and libmpfr.so?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]