Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Polskie forum (Polish) Instalacja i sprzęt
  • Search

ustwienia make.conf dla Core i5

Pytania i problemy związane z instalacją Gentoo oraz sprzętem

Moderator: SlashBeast

Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
Author
Message
sherszen
Apprentice
Apprentice
Posts: 217
Joined: Fri Jul 28, 2006 6:59 pm

ustwienia make.conf dla Core i5

  • Quote

Post by sherszen » Mon Feb 14, 2011 11:04 pm

Witam,

Przymierzam się do postawienia Gentoo na Core i5:

Code: Select all

flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida arat tpr_shadow vnmi flexpriority ept vpid
Jakie flagi dla gcc i linkera dobrać dla tego CPU? Standardowe core2 nie włączało raczej wszelkich możliwości cpu, a zależało mi by na pełnym wykorzystaniu możliwości procesora, jak i wysoką stabilnością systemu.

Jak wygląda sprawa z HT? Warto ustawiać -j3, czy traktować owe "4" rdzenie jako fizyczne i ustawić jako j5?

Pozdrawiam
Top
Crenshaw
Guru
Guru
User avatar
Posts: 474
Joined: Wed Jun 23, 2004 9:28 pm
Location: Poland

  • Quote

Post by Crenshaw » Tue Feb 15, 2011 8:27 pm

Code: Select all

-march=native
Ja jade na -j5.
Top
sherszen
Apprentice
Apprentice
Posts: 217
Joined: Fri Jul 28, 2006 6:59 pm

  • Quote

Post by sherszen » Tue Feb 15, 2011 9:04 pm

Code: Select all

CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl,--as-needed"
MAKEOPTS="-j5"
Czyli proponujesz coś w tym stylu?
Top
Crenshaw
Guru
Guru
User avatar
Posts: 474
Joined: Wed Jun 23, 2004 9:28 pm
Location: Poland

  • Quote

Post by Crenshaw » Thu Feb 17, 2011 9:03 pm

As needed jest automatycznie dodawane od jakiegos czasu:
2010-08-01-as-needed-default
Title --as-needed enabled in default profiles
Author Tomáš Chvátal <scarabeus@gentoo.org>
Posted 2010-08-01
Revision 1

-Wl,--as-needed has been added to the default profile's LDFLAGS.

This option optimizes the linking process, only linking binaries to
libraries that are trully needed. This way, fewer libraries are loaded
at runtime and fewer packages need to be rebuilt after library updates.

To take advantage of the new default you can either rebuild world now
or just allow the system to migrate incrementally as it updates.

Please note that setting LDFLAGS="<your flags>" in your make.conf will
override the profile defaults. If you want to add additional LDFLAGS
it is recommended to use LDFLAGS="${LDFLAGS} <your flags>" instead to
avoid this.

For more information on --as-needed, read [1].

[1] http://www.gentoo.org/proj/en/qa/asneeded.xml
A co do zabawy to jesli np. masz jakies procozerne programy i chcialbys sie pobawic nie rozwalajac calego systemu
to mozna (zakladajac ze ma sie portage 2.2) ustawic sobie CFLAGS osobno dla kazdej paczki. (man portage a potem szukaj package.env).
Chociaz przyznam ze sie tym nie bawilem.
Top
Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “Instalacja i sprzęt”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic