On Thu, Oct 23, 2008 at 9:03 PM, Brian Dessent <brian@xxxxxxxxxxx> wrote: > Sangamesh B wrote: > >> 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[2]: Leaving directory `/export/packages/compilers/GNU/gcc430' >> make[1]: *** [stage1-bubble] Error 2 >> make[1]: Leaving directory `/export/packages/compilers/GNU/gcc430' >> make: *** [all] Error 2 >> >> For more details, attached here the config.log. > > You've attached the config.log from toplevel, but the relevant one is > the one in the stage1-x86_64-unknown-linux-gnu/libgcc/ directory. You > probably didn't set LD_LIBRARY_PATH to include the location where you > installed shared GMP and MPFR and consequently they are not found when > the stage1 xgcc is invoked. > That's right. I set LD_LIBRARY_PATH to mpfr and gmp libs. It got installed. Thanks both of you. May I know how did you point it out? Which lines of my mail point to LD? > Brian >