This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: make error:at upgrading to gcc 4.5.2(from 4.4.3)
- From: Bryan Hundven <bryanhundven at gmail dot com>
- To: eric lin <ericlin at fsshl dot zzn dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Sat, 4 Jun 2011 15:53:38 -0700
- Subject: Re: make error:at upgrading to gcc 4.5.2(from 4.4.3)
- References: <DF7513D7682469742977475D4B1F29DA@ericlin.fsshl.zzn.com>
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