View previous topic :: View next topic |
Author |
Message |
henrynick Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Blade Runner/movie_blade_runner_deckard.gif)
Joined: 28 Jun 2004 Posts: 203 Location: longitude: 14° 25' latitude: 51° 10'
|
Posted: Wed Sep 08, 2004 10:17 am Post subject: CPUinfo, chost, cflags |
|
|
Hallo,
falls jemand mal etwas Zeit erübrigen kann - ich benötige eine Aussage zu den folgenden Werten für CHOST. Vorweg mal die CPUinfo (IBM Thinkpad 600x):
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 8
model name : Pentium III (Coppermine)
stepping : 3
cpu MHz : 647.755
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca
cmov pat pse36 mmx fxsr sse
bogomips : 1291.05
Ich habe folgendes in die make.conf geschrieben:
CFLAGS="-O2 -mcpu=i586 -fomit-frame-pointer"
CHOST="i586-pc-linux-gnu"
Meiner bescheidenen Erfahrung mit Gentoo und dem Handbuch nach sollte das funktionieren oder hat jemand noch eine Idee zur Verbesserung für ein Notebook, das alles können soll *grins*. _________________ Gruß/greetings
HenryNick
--
go to work, send your kids to school
follow fashion, act normal
walk on the pavement, watch T.V.
save for your old age, obey the law
Repeat after me: I am free |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Aldo Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/15008564054336143758f1f.gif)
Joined: 15 Jan 2003 Posts: 440 Location: Cologne, Germany
|
Posted: Wed Sep 08, 2004 10:30 am Post subject: Re: CPUinfo, chost, cflags |
|
|
henrynick wrote: | Ich habe folgendes in die make.conf geschrieben:
CFLAGS="-O2 -mcpu=i586 -fomit-frame-pointer"
CHOST="i586-pc-linux-gnu" |
Ich würde "i686" bei beiden Angaben nehmen und statt "-mcpu" "-march" einsetzen.
Und bei den CFLAGS empfiehlt sich ein "-pipe". _________________ Abit A-N78-HD
Phenom 9750
8 GB Ram
Linux 2.6.29-gentoo
FreeBSD 7.2 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Tuna Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/8812564904eea5ab5ef976.png)
Joined: 19 Jul 2002 Posts: 485 Location: Berlin
|
Posted: Wed Sep 08, 2004 10:44 am Post subject: |
|
|
was spricht gegen -march=pentium3? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
henrynick Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Blade Runner/movie_blade_runner_deckard.gif)
Joined: 28 Jun 2004 Posts: 203 Location: longitude: 14° 25' latitude: 51° 10'
|
Posted: Wed Sep 08, 2004 10:53 am Post subject: Re: CPUinfo, chost, cflags |
|
|
Danke - sozusagen sollte dann das hier drin stehen -
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
Kann man eigentlich noch mehr optimieren? _________________ Gruß/greetings
HenryNick
--
go to work, send your kids to school
follow fashion, act normal
walk on the pavement, watch T.V.
save for your old age, obey the law
Repeat after me: I am free |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
henrynick Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Blade Runner/movie_blade_runner_deckard.gif)
Joined: 28 Jun 2004 Posts: 203 Location: longitude: 14° 25' latitude: 51° 10'
|
Posted: Wed Sep 08, 2004 11:00 am Post subject: |
|
|
@Tuna
Hallo - wahrscheinlich nichts , aber ich bin mir nicht so sicher, unter was ich meinen Proz. da einstufen soll. In den Vergleichstabellen, die ich gefunden habe steht entweder Pentium XYZ oder ix86 - jedenfalls war ich mir nicht sicher, was ich da verwenden kann.
Also kann ich auch so tun -... -march=pentium3 ... ? _________________ Gruß/greetings
HenryNick
--
go to work, send your kids to school
follow fashion, act normal
walk on the pavement, watch T.V.
save for your old age, obey the law
Repeat after me: I am free |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Jlagreen Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Cars/5.gif)
Joined: 19 Mar 2003 Posts: 211 Location: Baden-Württemberg, Germany
|
Posted: Wed Sep 08, 2004 11:13 am Post subject: |
|
|
Hi,
schau mal in diesen thread und probier das script zum erkennen der cflags aus, da deine cpu unter /proc/cpuinfo erkannt wird, sollte es funktionieren
https://forums.gentoo.org/viewtopic.php?t=202597&highlight=cflags
[EDIT]
kopiere das script aus dem zweiten post (markieren+kopieren) und paste es in nen text-editor und speichere es (bsp. cflags-info), dann führ folgendes als root aus
Code: |
# chmod 777 cflags-info
# ./cflags-info
|
es sollte dir die cflags anzeigen und du kannst sie verwenden, hab das auf 2 rechnern getan und keinerlei probleme, da sie sich teilweise mit menen alten deckten und noch ein paar optionen mehr hatten ![Cool 8)](images/smiles/icon_cool.gif) _________________ Aktuelle Sys:
Dektop System
--> GF6800LE @ 12p/6v @ 415/900
-- >Think Linux, use Gentoo |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
henrynick Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Blade Runner/movie_blade_runner_deckard.gif)
Joined: 28 Jun 2004 Posts: 203 Location: longitude: 14° 25' latitude: 51° 10'
|
Posted: Wed Sep 08, 2004 11:21 am Post subject: |
|
|
@Jlagreen
Danke - ich habe einen ähnlichen Thread gefunden, der sich auf ein ähnliches Thema bezieht - äh, wie sag ich's jetzt - das script habe ich in eine Datei gepackt, nur ich bin (wie man unschwer an den beiden Nullen in meiner Forumseinstufung erkennen kann) mir nicht ganz sicher, wie ich es zum laufen bringen kann. Ist mir ja peinlich, aber ... _________________ Gruß/greetings
HenryNick
--
go to work, send your kids to school
follow fashion, act normal
walk on the pavement, watch T.V.
save for your old age, obey the law
Repeat after me: I am free |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
henrynick Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Blade Runner/movie_blade_runner_deckard.gif)
Joined: 28 Jun 2004 Posts: 203 Location: longitude: 14° 25' latitude: 51° 10'
|
Posted: Wed Sep 08, 2004 11:39 am Post subject: |
|
|
@Sorry Jlagreen - ich hatte wohl ein kleines Browserproblem - ich habe nur die erste Hälfte Deiner Antwort gesehen - Danke für die ausführliche Anleitung. Ich teste das durch und gebe ein Rückmeldung.
Danke an alle. _________________ Gruß/greetings
HenryNick
--
go to work, send your kids to school
follow fashion, act normal
walk on the pavement, watch T.V.
save for your old age, obey the law
Repeat after me: I am free |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Jlagreen Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Cars/5.gif)
Joined: 19 Mar 2003 Posts: 211 Location: Baden-Württemberg, Germany
|
Posted: Wed Sep 08, 2004 11:47 am Post subject: |
|
|
ne hast du nicht, da ich etwa ne minute später die zweite hälfte EDIT gemacht habe, da ich mir dann den thread nochmal angeschaut habe und mir einfiel, wie ich es gemacht habe _________________ Aktuelle Sys:
Dektop System
--> GF6800LE @ 12p/6v @ 415/900
-- >Think Linux, use Gentoo |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
henrynick Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Blade Runner/movie_blade_runner_deckard.gif)
Joined: 28 Jun 2004 Posts: 203 Location: longitude: 14° 25' latitude: 51° 10'
|
Posted: Wed Sep 08, 2004 1:11 pm Post subject: |
|
|
Hallo - funktioniert soweit ganz gut, nur - Fehlermeldungen wie folgt:
sed: -e expression #1, char. 44: Unterminnated ´s´ command
Could not run/locate "gcc"
expr: syntax error
expr: syntax error
-march=pentium3
Den 'Fehler' sed habe ich beseitigen können - Formatierung des Files, es bleibt jedoch folgende Fehlermeldung übrig:
Could not run/locate "gcc"
expr: syntax error
expr: syntax error
-march=pentium3 _________________ Gruß/greetings
HenryNick
--
go to work, send your kids to school
follow fashion, act normal
walk on the pavement, watch T.V.
save for your old age, obey the law
Repeat after me: I am free |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|