Post details: New Guide

27 June, 2007

Permalink 06:14 UTC, by Josh Saddler Email , 171 words, 1291 views   English (US)
Categories: Gentoo

New Guide

And now, breaking news in this special report:

I added my Compilation Optimization Guide to our documentation repository just a few moments ago, finally closing Bug 68282. Finally, we have something written down that we've been telling our users on the forums, on Bugzilla, the mailing lists, and IRC for years now. You may consider it definitive.

And no, we won't link to that unofficial wiki floating around. And no, your flags of -fomg-optimize and -funroll-all-loops won't be added to it.

With those caveats, have fun reading! Note that we have always had CFLAG suggestions for all our arches in their respective installation handbooks, that's why the guide doesn't duplicate the list in the GCC handbook.

...we now return you to your previously scheduled distribution checklist broadcast.

News flash!

I added yet another guide to Portage, one that was initially contributed by a user and a few developers some time ago, this one is a vpnc howto. It finally closes Bug 97760 and Bug 30966.

Man, this is some week for closing old bugs.

Trackback address for this post:

http://planet.gentoo.org/developers/htsrv/trackback.php/1353

Comments, Trackbacks:

Comment from: strohel [Visitor] Email · http://strohel.bockelman.eu/
Good work, Josh. I always wanted a place where I can point rookies playing with weird CFLAGS. Thanks. (I know, there is plenty of that on gentoo-wiki, but I somehow prefer the "official" docs despite this one is maybe too offensive)
PermalinkPermalink 27 June, 2007 @ 11:49
Comment from: gregf [Visitor] Email
Same as above great to have something to point anyone new people to. Have managed to convert a few friends to Gentoo over the years and usually one of the first questions is cflags.
PermalinkPermalink 27 June, 2007 @ 14:53
Comment from: Francesco [Visitor]
Broken link?
PermalinkPermalink 27 June, 2007 @ 15:18
Comment from: Xavier Neys [Visitor] Email · http://gentoo.neysx.org
we have always had CFLAG suggestions for all our arches in their respective installation handbooks

The above statement is wrong. We've always had x86 CFLAGS duplicated in all handbooks.
I added arch-specific CFLAGS on March 10, 2007

Thanks for the now gcc-optimization.xml guide BTW.
PermalinkPermalink 27 June, 2007 @ 16:41
Comment from: Josh Saddler [Member] Email · http://dev.gentoo.org/~nightmorph
@neysx: Well, "always" is relative.

@Francesco: I temporarily fixed the link to the doc in the post...
PermalinkPermalink 27 June, 2007 @ 18:03
Comment from: Caster [Visitor] Email
> Portage cannot use CFLAGS on a per-package basis, nor is there any supported method of forcing it to do so. The flags you set in /etc/make.conf will be used for all packages you install.

/etc/portage/bashrc is not considered "supported"?
PermalinkPermalink 27 June, 2007 @ 21:22
Comment from: Josh Saddler [Member] Email · http://dev.gentoo.org/~nightmorph
@caster:

Not that I've heard of. The most I've heard of is solar's hack to make it work, but I've never heard of it being officially supported or being an official feature. AFAIK, using bashrc is just a way to trick Portage into doing something it shouldn't.
PermalinkPermalink 27 June, 2007 @ 21:50
Comment from: Francois [Visitor] Email
About the by package thing.
There is now a way to make it work.
I am not sure it is related to bashrc. It does work as I have used it on numerous occasions. For example on ppc until recently we couldn't compile openoffice.org with any cflags. Which was tiring because you had to change /etc/make.conf every time and you could forget to revert.
The simple solution for that kind of problem is to create a file called
/etc/portage/env/app-office/openoffice
and put CFLAGS="" in it.
This can be made version specific by appending version number.
I have used this on x86 and ppc.
PermalinkPermalink 28 June, 2007 @ 19:57
Comment from: Hanno [Visitor] Email · http://www.hboeck.de/
About LDFLAGS: the guide writes we don't support any of them.

I don't know if we could call this "supported", but at least we accept bugs for LDFLAGS="-Wl,--as-needed", because this is a QA-issue and often leads to makefiles that are broken anyway. So I guess you should mention that.
PermalinkPermalink 29 June, 2007 @ 17:05

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.

Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
(Line breaks become <br />)
(Set cookies for name, email and url)
(Allow users to contact you through a message form (your email will NOT be displayed.))

Josh Saddler

The journal of Josh Saddler (nightmorph), a documentation developer.

October 2008
Mon Tue Wed Thu Fri Sat Sun
<< <     
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

Search

Categories

Misc

XML Feeds

What is RSS?

Who's Online?

  • Guest Users: 63

powered by
b2evolution