gcc 4.8/4.7.x for sabayon 10?

If you are new to Linux or new to Sabayon Linux and just not sure where to post, here ya go. Post without fear of being told to RTFM :-)

Moderator: Moderators

gcc 4.8/4.7.x for sabayon 10?

Postby mmix » Sun Sep 16, 2012 13:30

Hi, i just want to use latest gcc for sabayon 10. i am using it.

TIA
mmix
Baby Hen
 
Posts: 3
Joined: Sat Sep 15, 2012 11:50

Re: gcc 4.8/4.7.x for sabayon 10?

Postby mmix » Mon Sep 17, 2012 17:27

FYI, i just manually compiled & installed.
# vi /etc/portage/package.keywords
added below line.
=sys-devel/gcc-4.7.1 **
# emerge -u gcc
but gcc-4.7.1 compiled error, so i just latest gcc 4.8 snapshot with lfs-7.2 style. :-)

Code: Select all
$ cc -v

Using built-in specs.
COLLECT_GCC=cc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc/configure --prefix=/usr --libexecdir=/usr/lib --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++ --disable-multilib --disable-bootstrap --with-system-zlib
Thread model: posix
gcc version 4.8.0 20120916 (experimental) (GCC)


gcc 4.8 snapshot buggy, so i have installed gcc 4.7.2.

Code: Select all
cc -v
Using built-in specs.
COLLECT_GCC=cc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../gcc/configure --prefix=/usr --libexecdir=/usr/lib --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++ --disable-multilib --disable-bootstrap --with-system-zlib --target=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu
Thread model: posix
gcc version 4.7.2 (GCC)
mmix
Baby Hen
 
Posts: 3
Joined: Sat Sep 15, 2012 11:50


Return to Beginners|Newbies Area

Who is online

Users browsing this forum: No registered users and 0 guests