You are not logged in.
Pages: 1
So, for no apparent reason other than "for the lulz", I've decided to reinstall Arch on my desktop computer. And compile everything from source.
This could be fun…
Offline
Do some benchmarks. Measure how long it takes. Are you using special cflags?
Share your lolz.
Offline
I will be using special cflags. 10 minutes 'til the new ISO is downloaded. Even though I'll just be recompiling everything anyway, I just want a look at the new ISO ![]()
Last edited by Barrucadu (2009-02-18 23:27:13)
Offline
1.) Please benchmark for others!
2.) Use LDFLAGS! They help more than C(XX)FLAGS in my experience. Though quite a few packages don't respect them... I know in Gentoo they have patches to many packages to make them respect LDFLAGS.
http://en.gentoo-wiki.com/wiki/Safe_LDFLAGS
http://forums.gentoo.org/viewtopic-t-67777.html
http://forums.gentoo.org/viewtopic-t-226909.html
http://forums.gentoo.org/viewtopic-t-316445.html (note: that list is way deprecated)
http://lwn.net/Articles/192624/
http://www.gentoo-wiki.info/CFLAGS_Matrix
I used "-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,--hash-style=gnu" to much success (app load times, not in-app performance, is what is helped) in Funtoo/Gentoo. Arch uses "--hash-style=both" by default Allan said once IIRC, which (I may easily be wrong) can provide the same performance as gnu, but increased binary size.
Offline
Note that our gcc has -Wl,--hash-style=both set
Offline
Pages: 1