Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 392203 - SPARC Handbook: Add note for CC tool prefix in kernel config
Summary: SPARC Handbook: Add note for CC tool prefix in kernel config
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Installation Handbook (show other bugs)
Hardware: Sparc64 Linux
: Normal enhancement (vote)
Assignee: Sven Vermeulen (RETIRED)
URL: http://www.gentoo.org/doc/en/handbook...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-27 18:10 UTC by Nathan M
Modified: 2011-12-13 20:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.