Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED][gcc] CFLAGS dla core2duo
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Instalacja i sprzęt
View previous topic :: View next topic  
Author Message
shido
n00b
n00b


Joined: 09 Sep 2006
Posts: 60
Location: Sopot

PostPosted: Sun Feb 01, 2009 5:43 pm    Post subject: [SOLVED][gcc] CFLAGS dla core2duo Reply with quote

Nawiązując do postu Rekompilacja systemu / zmiana CFLAGS

Czy wszystkie procki z rodziny core2duo i core2quad mogą mieć ustawioną flagę
Code:
CFLAGS="-march=core2 ...


obecnie używam gcc-4.1.2 i w manualu najbardziej odpowiednią flagę jaką znalazłem to „nocona”
o fladze „core2” nie ma żadnej informacji

Czy wynika to z tego że np. w mojej wersji gcc flagi „core2” jeszcze nie ma?
Jaka jest różnica między nocona a core2?
_________________
Acer 4102WLMi [Pentium M 1.73GHz] [FSB 533MHz] [ATI X700 64MB VRAM] [2 GB DDR2]


Last edited by shido on Sun Feb 01, 2009 10:45 pm; edited 1 time in total
Back to top
View user's profile Send private message
gall
Tux's lil' helper
Tux's lil' helper


Joined: 13 Nov 2007
Posts: 142
Location: /home/gall

PostPosted: Sun Feb 01, 2009 6:00 pm    Post subject: Re: [gcc] CFLAGS dla core2duo Reply with quote

shido wrote:

Czy wszystkie procki z rodziny core2duo i core2quad mogą mieć ustawioną flagę

Tak mogą

shido wrote:

obecnie używam gcc-4.1.2 i w manualu najbardziej odpowiednią flagę jaką znalazłem to „nocona”
o fladze „core2” nie ma żadnej informacji

W tej wersji gcc nie ma tej flagi.

shido wrote:

Czy wynika to z tego że np. w mojej wersji gcc flagi „core2” jeszcze nie ma?

Jak wyżej.

shido wrote:

Jaka jest różnica między nocona a core2?


http://en.gentoo-wiki.com/wiki/Safe_Cflags/Intel
_________________
#!/bin/ssh
#The Unix Guru's View of Sex
unzip ; strip ; touch ; grep ; finger ; mount ; fsck ; more ; yes ; umount ; sleep
Back to top
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 760

PostPosted: Sun Feb 01, 2009 7:58 pm    Post subject: Reply with quote

Najlepiej sobie walnąć -march=native (dla >=gcc-4.2*) i tyle.
_________________
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Back to top
View user's profile Send private message
shido
n00b
n00b


Joined: 09 Sep 2006
Posts: 60
Location: Sopot

PostPosted: Sun Feb 01, 2009 10:44 pm    Post subject: Reply with quote

Ok dzięki za pomoc, na razie ustawie se takie
Code:
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"

_________________
Acer 4102WLMi [Pentium M 1.73GHz] [FSB 533MHz] [ATI X700 64MB VRAM] [2 GB DDR2]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Instalacja i sprzęt 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