public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Error saying cannot compute suffix while building compiler gcc-4.3.2
@ 2010-03-26 17:27 Vaibhav Shrimali
  2010-03-29 22:03 ` Jonathan Wakely
  0 siblings, 1 reply; 3+ messages in thread
From: Vaibhav Shrimali @ 2010-03-26 17:27 UTC (permalink / raw)
  To: gcc-patches, gcc-help, gcc, Ian Lance Taylor

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
******************************************

I have tried configuring it:
1. without suffix
2. exporting suffix in environment variable and using that environment
variable as suffix
3. without using environment variable as suffix

but none of the above methods worked.
Please tell me where I am wrong.
Thank You.


-- 
Vaibhav Shrimali
BTech(ICT), DA-IICT
Gandhinagar

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-03-29 10:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-26 17:27 Error saying cannot compute suffix while building compiler gcc-4.3.2 Vaibhav Shrimali
2010-03-29 22:03 ` Jonathan Wakely
2010-03-30 11:09   ` Manuel López-Ibáñez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).