View previous topic :: View next topic |
Author |
Message |
flammenflitzer Advocate
Joined: 25 Nov 2003 Posts: 3491 Location: Berlin
|
|
Back to top |
|
|
RealGeizt l33t
Joined: 22 Apr 2003 Posts: 700
|
Posted: Sun Dec 19, 2004 1:56 pm Post subject: |
|
|
ich kann dir meine geben wenn du willst.
läuft alles fix und ohne probleme.
Code: | # These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer -funroll-loops"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="3dnow avi dga dvd gtk2 icq java javascript mbox mmx network nvidia \
openssh svga truetype-fonts type1-fonts X xchatdccserver xchatnogtk \
xchattext xine"
FEATURES="sandbox"
ACCEPT_KEYWORDS="~amd64" |
|
|
Back to top |
|
|
Macumba Tux's lil' helper
Joined: 13 Sep 2004 Posts: 112
|
|
Back to top |
|
|
Shagrath n00b
Joined: 24 Aug 2004 Posts: 32 Location: Vor meinem Monitor ^_^
|
Posted: Sun Dec 19, 2004 3:35 pm Post subject: |
|
|
http://home.arcor.de/damiensyrax/tmp/make.conf_amd64
Meine fuer x86_64.. ist uebrigens strikt auf KDE ausgelegt. Allerdings glaub ich, dass ich schon ziemlich am Limit fuer kaputten Code bin.
Diese make.conf aus dem Thread erscheint mir irgendwie wertlos. march=tbird bei einem k8 :O? |
|
Back to top |
|
|
Macumba Tux's lil' helper
Joined: 13 Sep 2004 Posts: 112
|
Posted: Sun Dec 19, 2004 4:56 pm Post subject: |
|
|
soll er ja nur angucken,
da sind noch enige andere interessante sachen drin ldflags u.so _________________
Code: | dd if=/dev/urandom of=/dev/speech |
ogg - mp3 |
|
Back to top |
|
|
Linuxpeter Guru
Joined: 28 May 2004 Posts: 403 Location: Dresden, Germany
|
Posted: Sun Dec 19, 2004 5:05 pm Post subject: |
|
|
Hier mal meine (von AMD) empfehlenen CFLAGS für den Athlon64 und gcc-3.4.x:
Code: |
CFLAGS="-O3 -march=athlon64 -ffast-math -funroll-all-loops -funit-at-a-time -fpeel-loops -ftracer -funswitch-loops -fomit-frame-pointer -pipe"
|
Bisher habe ich damit keine Probleme gehabt. _________________ Regards, Linuxpeter
Wenn "Windows" die Antwort ist, war es eine dumme Frage.
Is "Windows" the answer, then it was a stupid question. |
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
|
Back to top |
|
|
RealGeizt l33t
Joined: 22 Apr 2003 Posts: 700
|
Posted: Sun Dec 19, 2004 5:19 pm Post subject: |
|
|
Linuxpeter wrote: | Hier mal meine (von AMD) empfehlenen CFLAGS für den Athlon64 und gcc-3.4.x:
Code: |
CFLAGS="-O3 -march=athlon64 -ffast-math -funroll-all-loops -funit-at-a-time -fpeel-loops -ftracer -funswitch-loops -fomit-frame-pointer -pipe"
|
Bisher habe ich damit keine Probleme gehabt. |
sieht ziemlich aggressiv aus finde ich...aber wenns läuft |
|
Back to top |
|
|
Linuxpeter Guru
Joined: 28 May 2004 Posts: 403 Location: Dresden, Germany
|
|
Back to top |
|
|
flammenflitzer Advocate
Joined: 25 Nov 2003 Posts: 3491 Location: Berlin
|
Posted: Tue Dec 21, 2004 2:37 pm Post subject: |
|
|
-march=athlon64 ? in dem Dokument ist aber die Rede von -march=k8 ???? |
|
Back to top |
|
|
Linuxpeter Guru
Joined: 28 May 2004 Posts: 403 Location: Dresden, Germany
|
Posted: Tue Dec 21, 2004 3:16 pm Post subject: |
|
|
k8 = athlon64 = opteron _________________ Regards, Linuxpeter
Wenn "Windows" die Antwort ist, war es eine dumme Frage.
Is "Windows" the answer, then it was a stupid question. |
|
Back to top |
|
|
flammenflitzer Advocate
Joined: 25 Nov 2003 Posts: 3491 Location: Berlin
|
Posted: Fri Dec 24, 2004 8:58 am Post subject: |
|
|
/etc/make.conf.example
# Decent examples:
#amd64 CPU types supported in gcc-3.4: athlon64, opteron, k8
#CFLAGS="-mtune=k8 -O2 -pipe"
#CFLAGS="-march=athlon64 -O2 -pipe"
Wenn ich das richtig verstehe muß bei Verwendung von k8
CFLAGS="-mtune=k8 -O2 -pipe"
und bei Verwendung von athlon64
CFLAGS="-march=athlon64 -O2 -pipe"
eingetragen werden.
Dann wäre CFLAGS="-march=k8 -O2 -pipe" also falsch? Oder wird hier empfohlen
CFLAGS="-mtune=k8 -O2 -pipe"
CFLAGS="-march=athlon64 -O2 -pipe"
einzutragen? |
|
Back to top |
|
|
c07 Veteran
Joined: 25 Oct 2002 Posts: 1091
|
Posted: Fri Dec 24, 2004 11:27 am Post subject: |
|
|
flammenflitzer wrote: | Dann wäre CFLAGS="-march=k8 -O2 -pipe" also falsch? |
Nein. "k8" ist ebenso wie "opteron" und "athlon-fx" einfach ein Synonym für "athlon64". -march sagt, dass Code erzeugt werden soll, der auf anderen CPUs nicht unbedingt laufen muss, während -mtune (bzw. -mcpu bis gcc 3.3.x) portable Optimierungen (innerhalb der Prozessorfamilie) bewirkt und bei -march inklusiv ist. Nachdem bei Gentoo normalerweise Code speziell für einen bestimmten Rechner erzeugt werden soll, ist das erste Beispiel in der Regel nicht wirklich sinnvoll. |
|
Back to top |
|
|
flammenflitzer Advocate
Joined: 25 Nov 2003 Posts: 3491 Location: Berlin
|
Posted: Fri Dec 24, 2004 11:52 am Post subject: |
|
|
Danke |
|
Back to top |
|
|
|