Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 392203

Summary: SPARC Handbook: Add note for CC tool prefix in kernel config
Product: [OLD] Docs on www.gentoo.org Reporter: Nathan M <nmalinoski>
Component: Installation HandbookAssignee: Sven Vermeulen (RETIRED) <swift>
Status: RESOLVED FIXED    
Severity: enhancement CC: docs-team
Priority: Normal    
Version: unspecified   
Hardware: Sparc64   
OS: Linux   
URL: http://www.gentoo.org/doc/en/handbook/handbook-sparc.xml?part=1&chap=7
Whiteboard:
Package list:
Runtime testing required: ---

Description Nathan M 2011-11-27 18:10:03 UTC
Currently the SPARC handbook instructs users compile their kernels using:
make CROSS_COMPILE=<prefix> && make CROSS_COMPILE=<prefix> modules_install

I'd like to see an instruction added to the handbook to specify the CC prefix in the kernel config at:
General setup
-> Cross-compiler tool prefix
(This is in at least 3.0.6)

By specifying the prefix in the kernel config, SPARC users will be able to compile their kernel with the normal (And much easier-to-type) "make && make modules_install".

Reproducible: Always

Steps to Reproduce:
1. Configure CC prefix as described above
2. Save kernel config
3. make && make modules_install
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2011-11-27 19:05:12 UTC
sparc-guys, can someone acknowledge this? Is it the "sparc64-unknown-linux-gnu-" value that should be filled in?

I notice that 3.0.6 is stable (gentoo-sources) for sparc so I can update it in the handbooks easily.
Comment 2 Nathan M 2011-11-27 22:30:15 UTC
(In reply to comment #1)
> sparc-guys, can someone acknowledge this? Is it the
> "sparc64-unknown-linux-gnu-" value that should be filled in?
> 
> I notice that 3.0.6 is stable (gentoo-sources) for sparc so I can update it in
> the handbooks easily.

Correct; the CC prefix is "sparc64-unknown-linux-gnu-"
Comment 3 Raúl Porcel (RETIRED) gentoo-dev 2011-12-10 15:46:03 UTC
(In reply to comment #1)
> sparc-guys, can someone acknowledge this? Is it the
> "sparc64-unknown-linux-gnu-" value that should be filled in?
> 
> I notice that 3.0.6 is stable (gentoo-sources) for sparc so I can update it in
> the handbooks easily.

Yeah, looks okay
Comment 4 Sven Vermeulen (RETIRED) gentoo-dev 2011-12-13 20:31:24 UTC
Thanks a lot (both you Nathan for reporting and Raúl for the confirmation). The change is now in CVS so should show up in an hour or so on site.