View previous topic :: View next topic |
Author |
Message |
cazze Apprentice
Joined: 26 Mar 2003 Posts: 155 Location: Brussels - Belgium
|
Posted: Wed Mar 26, 2003 10:41 pm Post subject: Emerge compile confusion |
|
|
hi,
i did an emerge of Xfree86. In my USE flags i specified -march=i586
If i look to what Xfree86 tells me, i got
...
Build Operating System : Linux 2.4.20 i686
...
In the mean time i changed from kernel too.
Do i have to recompile XFree86 on my new kernel?
Why does it tells me i686?
If i have to recompile XFree86, how can i do this with emerge?
Thx
A gentoo newbie |
|
Back to top |
|
|
aja l33t
Joined: 26 Aug 2002 Posts: 705 Location: Edmonton, Canada
|
Posted: Wed Mar 26, 2003 10:45 pm Post subject: |
|
|
I will be corrected if I am wrong, but the USE flags specify the processor that you are compiling for, whereas XFree is reporting the processor that you have. As i586 code will run on an i686 (but not necessarily vice-versa), you should have no problems, but your code may not be quite as optimised as it could be.
You may want to consider modifying your flags to more closely align with your actual processor to take advantage of optimisations available to you. I probably wouldn't personally recompile XFree until the next upgrade. |
|
Back to top |
|
|
ebrostig Bodhisattva
Joined: 20 Jul 2002 Posts: 3152 Location: Orlando, Fl
|
Posted: Wed Mar 26, 2003 10:46 pm Post subject: |
|
|
I guess you meant that your CFLAGS include the -march entry, not the USE flag?
Some ebuilds, XFree86 is one of them, changes the flags themselves. The reason for this is that there are bugs popping up if some specific flags are used. The flags may differ from ebuild to ebuild.
The best thing to do when you see such athing is to read the ebuild file. In this case, /usr/portage/x11-base/xfree/xfree-4.3.0-r1.ebuild
There are lots of comments in this file that explains why they filter certain flags.
Hope this helps to clearify the issue
Erik _________________ 'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.' |
|
Back to top |
|
|
aja l33t
Joined: 26 Aug 2002 Posts: 705 Location: Edmonton, Canada
|
Posted: Wed Mar 26, 2003 10:48 pm Post subject: |
|
|
Hmmm... Maybe I'm wrong.... I tend to trust Erik..... |
|
Back to top |
|
|
cazze Apprentice
Joined: 26 Mar 2003 Posts: 155 Location: Brussels - Belgium
|
Posted: Wed Mar 26, 2003 11:15 pm Post subject: |
|
|
thx for the quick reply!
And yes it was in the CFLAGS and nat in the USE
As i see it is better that i don't touch on the CFLAGS for Xfree86 (especialy me who am a newbie in linux )
i got an other little question now that i looked in the portage tree,
i have xfree 4.2.1-r2 installed but i see that xfree 4.3.0-r1 is available, why do i don't see it if i do an emerge search xfree?
it says that the latest version available is 4.2.1-r2
kammicazze |
|
Back to top |
|
|
aja l33t
Joined: 26 Aug 2002 Posts: 705 Location: Edmonton, Canada
|
Posted: Wed Mar 26, 2003 11:25 pm Post subject: |
|
|
4.3.0-r1 is in portage, but currently masked.
Try
Code: |
ACCEPT_KEYWORDS="~x86" emerge -s xfree
|
To see it. Lose the -s to install it (warning - probably masked for a reason, if only testing, YMMV). |
|
Back to top |
|
|
cazze Apprentice
Joined: 26 Mar 2003 Posts: 155 Location: Brussels - Belgium
|
Posted: Thu Mar 27, 2003 10:29 am Post subject: |
|
|
thx,
i feel a bit less stupid now
kammicazze _________________ Required: Windows 95 or better, so i installed Linux!!! |
|
Back to top |
|
|
|