Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USE flags for PII Mobile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
zaklad
n00b
n00b


Joined: 11 May 2006
Posts: 40

PostPosted: Thu Jul 20, 2006 4:07 pm    Post subject: USE flags for PII Mobile Reply with quote

Hi,

What USE flags should be used for a mobile PII?
Should I use CFLAGS="-march=pentium2 -Os ... " or is there something else for mobile proccessors?

Also, does it matter how much ram I have (for the -Os)? As far as I understand the s means the packeges are optimized for size hence suitable for computers with little memory. If I have 128MB or 256MB should I still be using the -Os optimization or should I use -O2?

Thanks,

Gil
Back to top
View user's profile Send private message
GoofballJM1
Guru
Guru


Joined: 22 Mar 2004
Posts: 392
Location: Denver, CO USA

PostPosted: Thu Jul 20, 2006 5:16 pm    Post subject: Reply with quote

You are asking two questions, right?

Quote:
What USE flags should be used for a mobile PII?


Whatever your needs require. USE flags are related to what software you are using, not your CPU's architecture.

Quote:
Should I use CFLAGS="-march=pentium2 -Os ... " or is there something else for mobile proccessors?


That should be fine. The only mobile processors you are going to have to change CFLAGS on are the newer ones (ie. Pentium M's).
_________________
"Great spirits have often encountered violent opposition from weak minds." - Albert Einstein
Back to top
View user's profile Send private message
zaklad
n00b
n00b


Joined: 11 May 2006
Posts: 40

PostPosted: Thu Jul 20, 2006 6:16 pm    Post subject: Reply with quote

GoofballJM1 wrote:

That should be fine. The only mobile processors you are going to have to change CFLAGS on are the newer ones (ie. Pentium M's).


Thanks GoofballJM1!

What about the optimization part?
I currently have 164MB and are thinking of upgrading to 256MB. Should I still be using the -Os for this amount of memory?
(The -Os is about small memory, isn't it?)

Thanks again!
Back to top
View user's profile Send private message
Lupin_the_3rd
Apprentice
Apprentice


Joined: 03 Apr 2005
Posts: 168

PostPosted: Fri Jul 21, 2006 2:42 am    Post subject: Reply with quote

GoofballJM1 wrote:
You are asking two questions, right?

Quote:
What USE flags should be used for a mobile PII?


Whatever your needs require. USE flags are related to what software you are using, not your CPU's architecture.


Not necessarily. "-fomit-frame-pointer" frees up a CPU register which can give you a little performance boost on x86 (since x86 has so few registers). This has little or no effect however on most RISC platforms which typically have a lot of available CPU registers (far more than x86 anyways). Also, the GCC optimizations have different effects on different CPU's - on some arch's, you get a big boost, on others you simply get longer compile times with no noticible performance boost.

Just FYI.
_________________
Compaq XP1000 Alpha EV67 667Mhz w/ 2GB ECC
32bit PCI: ATI Radeon 9100 (DRI works!)
32bit PCI: Generic Firewire 400 card
64bit PCI: BCM5703 Gig-E (Compaq NC7771)
64bit PCI: Sil3124 SATA w/ mdadm RAID1 (pair of WD VelociRaptors)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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