FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Hardened

 
 
LinkBack Thread Tools
 
Old 10-16-2008, 12:49 AM
Ernesto Rodriguez Ortiz
 
Default Change the configuration of gcc?

I had problems compiling gnome in my system that uses the profile selinux-hardened, the problem was with Glimm whose solutions found in http://bugs.gentoo.org/show_bug.cgi?id=217112 # c5 where I was told to do:
gcc-config i686-pc-linux-gnu-3.4.6-hardenednossp & & source / etc / profile & & emerge -1 glibmm
After this glibmm will compile without any problems, but What are changing the configuration of gcc according to which the problem of glibmm can bring other problems to compile packages?
 
Old 10-16-2008, 03:51 AM
Pavel Labushev
 
Default Change the configuration of gcc?

Ernesto Rodriguez Ortiz пишет:

> After this glibmm will compile without any problems, but What are changing the configuration of gcc according to which the problem of glibmm can bring other problems to compile packages?

If you need to disable SSP for glibmm only, there's no point in using
hardenednossp compiler specs all the time. So just switch the hardened
profile back right after glibmm compilation:

# gcc-config i686-pc-linux-gnu-3.4.6-hardened

You can use /etc/portage/env/package-category/package-name files to
alter portage environment on a per-package basis:

# mkdir -p /etc/portage/env/dev-cpp
# cat > /etc/portage/env/dev-cpp/glibmm
CC="/usr/bin/gcc-3.4.6"
CXX="/usr/bin/gcc-3.4.6"
. /etc/env.d/gcc/i686-pc-linux-gnu-3.4.6-hardenednossp
^D

This way you don't need to switch compilers and specs manually at all.
 

Thread Tools




All times are GMT. The time now is 07:41 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org