* make error:at upgrading to gcc 4.5.2(from 4.4.3)
@ 2011-06-04 22:50 eric lin
2011-06-04 22:53 ` Bryan Hundven
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: eric lin @ 2011-06-04 22:50 UTC (permalink / raw)
To: gcc-help
Dear gcc programers:
when I tried to make(after ./configure, in my downloaded/extracted 4.5.2 of gcc), it fail to compile.(from 4.4.3)
also what is difference of gcc and gcc-core? should I install both? when I
extracted gcc-core after I extract gcc, I find it gointo same folder as gcc.
looking to see your help and thanks a lot in advance, Eric
------------------------------------------------------------------
checking whether ln -s works... yes
checking for i686-pc-linux-gnu-gcc... /home/eric/disk/gcc-4.5.2/host-i686-pc-linux-gnu/gcc/xgcc -B/home/eric/disk/gcc-4.5.2/host-i686-pc-linux-gnu/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: in `/home/eric/disk/gcc-4.5.2/i686-pc-linux-gnu/libgcc':
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/eric/disk/gcc-4.5.2'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/eric/disk/gcc-4.5.2'
make: *** [all] Error 2
root@eric-laptop:/home/eric/disk/gcc-4.5.2#
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: make error:at upgrading to gcc 4.5.2(from 4.4.3)
2011-06-04 22:50 make error:at upgrading to gcc 4.5.2(from 4.4.3) eric lin
@ 2011-06-04 22:53 ` Bryan Hundven
2011-06-04 23:46 ` Andi Hellmund
2011-06-05 13:54 ` Jonathan Wakely
2 siblings, 0 replies; 4+ messages in thread
From: Bryan Hundven @ 2011-06-04 22:53 UTC (permalink / raw)
To: eric lin; +Cc: gcc-help
On Sat, Jun 4, 2011 at 3:50 PM, eric lin <ericlin@fsshl.zzn.com> wrote:
> Dear gcc programers:
>
> when I tried to make(after ./configure, in my downloaded/extracted 4.5.2 of gcc), it fail to compile.(from 4.4.3)
>
> also what is difference of gcc and gcc-core? should I install both? when I
> extracted gcc-core after I extract gcc, I find it gointo same folder as gcc.
You should only need gcc. gcc-core is only if you don't want c++,
fortran or other languages.
The gcc archive contains all of the other languages and test-suites.
> looking to see your help and thanks a lot in advance, Eric
> ------------------------------------------------------------------
>
>
> checking whether ln -s works... yes
> checking for i686-pc-linux-gnu-gcc... /home/eric/disk/gcc-4.5.2/host-i686-pc-linux-gnu/gcc/xgcc -B/home/eric/disk/gcc-4.5.2/host-i686-pc-linux-gnu/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: in `/home/eric/disk/gcc-4.5.2/i686-pc-linux-gnu/libgcc':
> 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/eric/disk/gcc-4.5.2'
> make[1]: *** [stage1-bubble] Error 2
> make[1]: Leaving directory `/home/eric/disk/gcc-4.5.2'
> make: *** [all] Error 2
> root@eric-laptop:/home/eric/disk/gcc-4.5.2#
>
-Bryan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: make error:at upgrading to gcc 4.5.2(from 4.4.3)
2011-06-04 22:50 make error:at upgrading to gcc 4.5.2(from 4.4.3) eric lin
2011-06-04 22:53 ` Bryan Hundven
@ 2011-06-04 23:46 ` Andi Hellmund
2011-06-05 13:54 ` Jonathan Wakely
2 siblings, 0 replies; 4+ messages in thread
From: Andi Hellmund @ 2011-06-04 23:46 UTC (permalink / raw)
To: eric lin; +Cc: gcc-help
Hey Eric,
> checking whether ln -s works... yes
> checking for i686-pc-linux-gnu-gcc... /home/eric/disk/gcc-4.5.2/host-i686-pc-linux-gnu/gcc/xgcc -B/home/eric/disk/gcc-4.5.2/host-i686-pc-linux-gnu/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: in `/home/eric/disk/gcc-4.5.2/i686-pc-linux-gnu/libgcc':
> 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/eric/disk/gcc-4.5.2'
> make[1]: *** [stage1-bubble] Error 2
> make[1]: Leaving directory `/home/eric/disk/gcc-4.5.2'
> make: *** [all] Error 2
> root@eric-laptop:/home/eric/disk/gcc-4.5.2#
For this error, please first check
http://gcc.gnu.org/wiki/FAQ#configure_suffix to locate the root cause.
Best regards,
Andi
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: make error:at upgrading to gcc 4.5.2(from 4.4.3)
2011-06-04 22:50 make error:at upgrading to gcc 4.5.2(from 4.4.3) eric lin
2011-06-04 22:53 ` Bryan Hundven
2011-06-04 23:46 ` Andi Hellmund
@ 2011-06-05 13:54 ` Jonathan Wakely
2 siblings, 0 replies; 4+ messages in thread
From: Jonathan Wakely @ 2011-06-05 13:54 UTC (permalink / raw)
To: eric lin; +Cc: gcc-help
On 4 June 2011 23:50, eric lin wrote:
> Dear gcc programers:
>
> when I tried to make(after ./configure,
Do not build GCC like that.
http://gcc.gnu.org/wiki/FAQ#configure
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-06-05 9:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-04 22:50 make error:at upgrading to gcc 4.5.2(from 4.4.3) eric lin
2011-06-04 22:53 ` Bryan Hundven
2011-06-04 23:46 ` Andi Hellmund
2011-06-05 13:54 ` Jonathan Wakely
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).