1 |
I'm maybe dumb but don't know how/where to start this. |
2 |
I presume but I'm not sure. |
3 |
|
4 |
Is there any homepage/documents/forum describing that? |
5 |
I've never done crosscompiling of any kind(except palm programs under |
6 |
cygwin in windows) - always installed and compiled on the actual host. |
7 |
|
8 |
Just checking: |
9 |
1. insert path to new compiler tools at the begining. OK? |
10 |
export PATH="/home/crossdev/i586/i586-pc-linux-gnu/bin:${PATH}" |
11 |
|
12 |
2. to make my 586's kernel i can then go to /usr/src/linux or whichever |
13 |
kernel I prefer |
14 |
|
15 |
3. run |
16 |
make ARCH=i386 CROSS_COMPILE=i586-pc-linux-gnu- menuconfig |
17 |
make ARCH=i386 CROSS_COMPILE=i586-pc-linux-gnu- bzImage |
18 |
make ARCH=i386 CROSS_COMPILE=i586-pc-linux-gnu- dep |
19 |
make ARCH=i386 CROSS_COMPILE=i586-pc-linux-gnu- modules |
20 |
make ARCH=i386 CROSS_COMPILE=i586-pc-linux-gnu- ...? |
21 |
|
22 |
At this point I should have the new kernel somwehere(I will find it). |
23 |
|
24 |
Then I probably need some other packages to have a minimum(128MB compact |
25 |
flash) system running. One of those would be 'lilo' Which else? |
26 |
Where they get compiled? |
27 |
|
28 |
After compiling everything I should copy some of this compiled stuff on |
29 |
my CF. |
30 |
|
31 |
For now that would be all. |
32 |
|
33 |
Thanks, |
34 |
Goran |
35 |
|
36 |
|
37 |
Na 1074301543, 2004-01-17 ob 02:05, je Kumba napisal(a): |
38 |
> Chris PeBenito wrote: |
39 |
> |
40 |
> > Well for the compiling at least, you just have to put the compiler in |
41 |
> > the path: |
42 |
> > |
43 |
> > export PATH="/opt/crossdev/ppc/powerpc-unknown-linux-gnu/bin:${PATH}" |
44 |
> > |
45 |
> > is what I do to run the PPC cross compiler on my x86. So do something |
46 |
> > like that, and then you just have to do is add ARCH=i386 when you do |
47 |
> > make menuconfig, etc. I haven't tried compiling a kernel with the cross |
48 |
> > compiler; perhaps kumba will correct me on this. |
49 |
> |
50 |
> Kernel part is easy, just run |
51 |
> |
52 |
> make ARCH=i386 CROSS_COMPILE=i586-pc-linux-gnu- <target> |
53 |
> |
54 |
> And you should be fine, just make sure to set your kernel for i586 class. |
55 |
> |
56 |
> |
57 |
> --Kumba |
58 |
|
59 |
|
60 |
-- |
61 |
gentoo-embedded@g.o mailing list |