Summary: | GCC 3.2 ebuild fails with error message about xgcc | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Pardsbane <pardsbane> |
Component: | [OLD] Core system | Assignee: | Nicholas Jones (RETIRED) <carpaski> |
Status: | RESOLVED INVALID | ||
Severity: | blocker | ||
Priority: | High | ||
Version: | 1.4_rc1 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Pardsbane
2002-09-19 19:49:59 UTC
Oops, turns out this is 1/2 user error, 1/2 documentation bug. This URL: http://www.freehackers.org/gentoo/gccflags/flag_gcc3opt.html referred to via this URL: http://www.gentoo.org/doc/upgrade-to-gentoo-1.4.html Instructs users to do the following (for example): CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays" CXXFLAGS=CFLAGS However, typing "echo CXXFLAGS" results in: What now? echo $CXXFLAGS CFLAGS The correct solution is: CXXFLAGS="${CFLAGS}" which works. Anyway, if I had been paying attention, I would have caught that, but its still a documentation bug, and while its not on the official Gentoo website, it IS linked to by the official gentoo 1.2 to 1.4 upgrade documentation. Sorry about the formatting of the previous comment, looks like Konq + bugzilla doesn't peserve hard returns. Anyway, the above comment refers to the variables defined in /etc/make.conf of course. See additional comment #1 hi, freehackers.org site has been updated to fix this bug. all my fault, sorry Thomas (freehackers.org webmaster) |