Re: Problem compiling gcc 4.7.0 libgcc on Netgear ReadyNAS DUO Sparc

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

 



On 23 May 2012 14:29, .uservorname .usernachname wrote:
>
> Hello,
>
> I'm trying to upgrade my gcc from 4.0 to 4.7.
>
> I got the following compiling enviroment:
> 2.6.17.14ReadyNAS #1 Thu Sep 1 17:44:33 PDT 2011 padre GNU/Linux
> GNU ld (GNU Binutils) 2.22
> ldconfig (GNU libc) 2.3.2
> GNU Make 3.82
> debian sarge
>
> ls /usr/local/lib/libmpfr.*
> /usr/local/lib/libmpfr.a   /usr/local/lib/libmpfr.so    /usr/local/lib/libmpfr.so.1.2.2  /usr/local/lib/libmpfr.so.4.1.0
> /usr/local/lib/libmpfr.la  /usr/local/lib/libmpfr.so.1  /usr/local/lib/libmpfr.so.4
>
> ls /usr/local/lib/libmpc.*
> /usr/local/lib/libmpc.a   /usr/local/lib/libmpc.so    /usr/local/lib/libmpc.so.0.0.0  /usr/local/lib/libmpc.so.2.0.0
> /usr/local/lib/libmpc.la  /usr/local/lib/libmpc.so.0  /usr/local/lib/libmpc.so.2
>
> whereis libgmp
> libgmp: /usr/lib/libgmp.a /usr/lib/libgmp.lai /usr/local/lib/libgmp.so /usr/local/lib/libgmp.la /usr/local/lib/libgmp.a
>
> I configured gcc with the following parameters: gcc-4.7.0-compiled# ../gcc-4.7.0/configure --build='sparc-linux' --enable-languages=c,c++ --prefix=/usr --mandir=/usr/share/man --enable-shared --with-system-zlib --enable-nls --enable-clocale=gnu --enable-debug --with-cpu=v7  --enable-objc-gc
>
> make breaks at:
> make[3]: Leaving directory `/c/backup/gcc-4.7.0-compiled/gcc'mkdir -p -- sparc-linux/libgccChecking multilib configuration for libgcc...Configuring stage 1 in sparc-linux/libgccconfigure: creating cache ./config.cachechecking build system type... sparc-unknown-linux-gnuchecking host system type... sparc-unknown-linux-gnuchecking for --enable-version-specific-runtime-libs... nochecking for a BSD-compatible install... /usr/bin/install -cchecking for gawk... mawkchecking for sparc-linux-ar... archecking for sparc-linux-lipo... lipochecking for sparc-linux-nm... /backup/gcc-4.7.0-compiled/./gcc/nmchecking for sparc-linux-ranlib... ranlibchecking for sparc-linux-strip... stripchecking whether ln -s works... yeschecking for sparc-linux-gcc...
> /backup/gcc-4.7.0-compiled/./gcc/xgcc
> -B/backup/gcc-4.7.0-compiled/./gcc/ -B/usr/sparc-linux/bin/
> -B/usr/sparc-linux/lib/ -isystem /usr/sparc-linux/include -isystem
> /usr/sparc-linux/sys-includechecking for suffix of object files... configure: error: in `/backup/gcc-4.7.0-compiled/sparc-linux/libgcc':configure: error: cannot compute suffix of object files: cannot compileSee `config.log' for more details.

This is a FAQ: http://gcc.gnu.org/wiki/FAQ#configure_suffix

Please read http://gcc.gnu.org/wiki/InstallingGCC



[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