This is the mail archive of the gcc-patches@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: Error saying cannot compute suffix while building compiler gcc-4.3.2


On 26 March 2010 07:54, Vaibhav Shrimali <vaibhav.shrimali@gmail.com> wrote:
> Hello,
> I made some changes in the compiler gcc-4.3.2 and am currently trying
> to build the compiler.
> There are no compilation error in the source code. I followed the
> steps specified at : http://gcc.gnu.org/install/index.html
> while configuring i used the command:
>
> root@vebs-pc:/home/vebs/gcc/gcc# export SUF=-4.3
> root@vebs-pc:/home/vebs/gcc/gcc# /home/vebs/gcc/gcc-4.3.2/configure
> --program-suffix=$SUF
> root@vebs-pc:/home/vebs/gcc/gcc# make -f Makefile
>
> it exits and gives the following output.. whose last few lines are:
>
> ******************************************
> checking for i686-pc-linux-gnu-gcc... /home/vebs/gcc/gcc/./gcc/xgcc
> -B/home/vebs/gcc/gcc/./gcc/ -B/usr/local/i686-pc-linux-gnu/bin/
> -B/usr/local/i686-pc-linux-gnu/lib/ -isystem
> /usr/local/i686-pc-linux-gnu/include -isystem
> /usr/local/i686-pc-linux-gnu/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[2]: Leaving directory `/home/vebs/gcc/gcc'
> make[1]: *** [stage1-bubble] Error 2
> make[1]: Leaving directory `/home/vebs/gcc/gcc'
> make: *** [all] Error 2
> ******************************************

As the configure output says:
See `config.log' for more details.

Your existing compiler is not working correctly, see config.log for
more details of what is failing.

There is no need to crosspost this to gcc and gcc-patches, please
follow up on gcc-help.

Jonathan


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