View previous topic :: View next topic |
Author |
Message |
Maheriano l33t

Joined: 18 Jun 2005 Posts: 623 Location: Calgary, Alberta
|
Posted: Sat Nov 12, 2005 3:32 am Post subject: Need to recompile kernel when changing USE flags? [SOLVED] |
|
|
 _________________ 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 |
|
 |
gentoo_dude l33t


Joined: 08 May 2004 Posts: 645 Location: Washington, DC
|
Posted: Sat Nov 12, 2005 3:35 am Post subject: |
|
|
no |
|
Back to top |
|
 |
allucid Veteran

Joined: 02 Nov 2002 Posts: 1314 Location: atlanta
|
Posted: Sat Nov 12, 2005 3:37 am Post subject: |
|
|
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 |
|
 |
Maheriano l33t

Joined: 18 Jun 2005 Posts: 623 Location: Calgary, Alberta
|
Posted: Sat Nov 12, 2005 3:37 am Post subject: |
|
|
What about when I change the CFLAGS? _________________ Current project - carputer running.........Gentoo? |
|
Back to top |
|
 |
Kurt Steiner Bodhisattva


Joined: 01 Apr 2005 Posts: 1050 Location: Ostroleka, Polska
|
Posted: Sat Nov 12, 2005 11:25 am Post subject: |
|
|
Maheriano wrote: | What about when I change the CFLAGS? |
First: Code: | env-update && source /etc/profile |
Second: Code: | emerge glibc binutils gcc |
Third: |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55108 Location: 56N 3W
|
Posted: Sat Nov 12, 2005 11:32 am Post subject: |
|
|
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 |
|
 |
Naib Watchman


Joined: 21 May 2004 Posts: 6073 Location: Removed by Neddy
|
Posted: Sat Nov 12, 2005 12:33 pm Post subject: |
|
|
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 |
|
 |
Maheriano l33t

Joined: 18 Jun 2005 Posts: 623 Location: Calgary, Alberta
|
Posted: Sat Nov 12, 2005 5:50 pm Post subject: |
|
|
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: |
What does this do exactly? _________________ Current project - carputer running.........Gentoo? |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55108 Location: 56N 3W
|
Posted: Sat Nov 12, 2005 5:57 pm Post subject: |
|
|
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 |
|
 |
Maheriano l33t

Joined: 18 Jun 2005 Posts: 623 Location: Calgary, Alberta
|
Posted: Sat Nov 12, 2005 6:00 pm Post subject: |
|
|
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 |
|
 |
pjp Administrator


Joined: 16 Apr 2002 Posts: 20593
|
Posted: Tue Nov 15, 2005 10:21 pm Post subject: |
|
|
Moved from Other Things Gentoo _________________ Quis separabit? Quo animo? |
|
Back to top |
|
 |
|