1 |
Hello; |
2 |
|
3 |
Can anybody tell me what variable i need to set in the kernel makefile |
4 |
or elsewhere that points the build to my cross compile gcc? |
5 |
|
6 |
i have tried setting, CC, HOSTCC and a few other things and it hasnt |
7 |
worked. |
8 |
|
9 |
no matter what i try, the build seems to keep using the system gcc and |
10 |
that is mighty annoying. |
11 |
|
12 |
the only way i have managed to cross build a kernel is to actually mv |
13 |
the system gcc out of the way and make a softlink to my cross-compiler. |
14 |
|
15 |
which works, but causes a large chunk of grief when i try and build an |
16 |
app for my desktop and then get the wrong executable format for my |
17 |
desktop because i have forgotten to return the gcc link back to |
18 |
pointing at the system gcc. :-( |
19 |
|
20 |
what am i failing to understand about the kernel build process? |
21 |
|
22 |
tnx! |
23 |
|
24 |
johnu |
25 |
|
26 |
-- |
27 |
gentoo-embedded@l.g.o mailing list |