Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Need to recompile kernel when changing USE flags? [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Maheriano
l33t
l33t


Joined: 18 Jun 2005
Posts: 623
Location: Calgary, Alberta

PostPosted: Sat Nov 12, 2005 3:32 am    Post subject: Need to recompile kernel when changing USE flags? [SOLVED] Reply with quote

:?:
_________________
Current project - carputer running.........Gentoo?


Last edited by Maheriano on Sat Nov 12, 2005 6:01 pm; edited 1 time in total
Back to top
View user's profile Send private message
gentoo_dude
l33t
l33t


Joined: 08 May 2004
Posts: 645
Location: Washington, DC

PostPosted: Sat Nov 12, 2005 3:35 am    Post subject: Reply with quote

no
Back to top
View user's profile Send private message
allucid
Veteran
Veteran


Joined: 02 Nov 2002
Posts: 1314
Location: atlanta

PostPosted: Sat Nov 12, 2005 3:37 am    Post subject: Reply with quote

no. your kernel has nothing to do with use flags. you can recompile all programs that take advantage of your useflag changes with 'emerge --newuse world' but that is optional. you can also use that flag for a specific program e.g. 'emerge --newuse mozilla-firefox'.
Back to top
View user's profile Send private message
Maheriano
l33t
l33t


Joined: 18 Jun 2005
Posts: 623
Location: Calgary, Alberta

PostPosted: Sat Nov 12, 2005 3:37 am    Post subject: Reply with quote

What about when I change the CFLAGS?
_________________
Current project - carputer running.........Gentoo?
Back to top
View user's profile Send private message
Kurt Steiner
Bodhisattva
Bodhisattva


Joined: 01 Apr 2005
Posts: 1050
Location: Ostroleka, Polska

PostPosted: Sat Nov 12, 2005 11:25 am    Post subject: Reply with quote

Maheriano wrote:
What about when I change the CFLAGS?

First:
Code:
env-update && source /etc/profile

Second:
Code:
emerge glibc binutils gcc

Third:
Code:
emerge -e world
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55108
Location: 56N 3W

PostPosted: Sat Nov 12, 2005 11:32 am    Post subject: Reply with quote

Maheriano,

Your CFLAGS are noy used by the kernel build, so No.
It sets its own CFLAGS
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6073
Location: Removed by Neddy

PostPosted: Sat Nov 12, 2005 12:33 pm    Post subject: Reply with quote

Well there is only one time I can think of when changing USE flags results in a recompiling of the kernel

its not just a re-complining of the kernel but reconfigure then recompile.

IF you enable a USE flag that pulls in another piece of software that need to be build against your current kernel, IF the emerge process (well the make process) determines that you are missing a kernel configuration option it will terminate an instruct you to enable it.
_________________
#define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0;
Back to top
View user's profile Send private message
Maheriano
l33t
l33t


Joined: 18 Jun 2005
Posts: 623
Location: Calgary, Alberta

PostPosted: Sat Nov 12, 2005 5:50 pm    Post subject: Reply with quote

Kurt Steiner wrote:
Maheriano wrote:
What about when I change the CFLAGS?

First:
Code:
env-update && source /etc/profile

Second:
Code:
emerge glibc binutils gcc

Third:
Code:
emerge -e world


What does this do exactly?
_________________
Current project - carputer running.........Gentoo?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55108
Location: 56N 3W

PostPosted: Sat Nov 12, 2005 5:57 pm    Post subject: Reply with quote

Maheriano,

It says to rebuild everything if you change your CFLAGS. Thats a bit extreme.
As you update, packages will be made with the new CFLAGS
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Maheriano
l33t
l33t


Joined: 18 Jun 2005
Posts: 623
Location: Calgary, Alberta

PostPosted: Sat Nov 12, 2005 6:00 pm    Post subject: Reply with quote

NeddySeagoon wrote:
Maheriano,

It says to rebuild everything if you change your CFLAGS. Thats a bit extreme.
As you update, packages will be made with the new CFLAGS


Thanks.
_________________
Current project - carputer running.........Gentoo?
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20593

PostPosted: Tue Nov 15, 2005 10:21 pm    Post subject: Reply with quote

Moved from Other Things Gentoo
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum