Re: make error:at upgrading to gcc 4.5.2(from 4.4.3)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jun 4, 2011 at 3:50 PM, eric lin <ericlin@xxxxxxxxxxxxx> 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



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux