Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-embedded
I'm maybe dumb but don't know how/where to start this.
I presume but I'm not sure.
Is there any homepage/documents/forum describing that?
I've never done crosscompiling of any kind(except palm programs under
cygwin in windows) - always installed and compiled on the actual host.
Just checking:
1. insert path to new compiler tools at the begining. OK?
export PATH="/home/crossdev/i586/i586-pc-linux-gnu/bin:${PATH}"
2. to make my 586's kernel i can then go to /usr/src/linux or whichever
kernel I prefer
3. run
make ARCH=i386 CROSS_COMPILE=i586-pc-linux-gnu- menuconfig
make ARCH=i386 CROSS_COMPILE=i586-pc-linux-gnu- bzImage
make ARCH=i386 CROSS_COMPILE=i586-pc-linux-gnu- dep
make ARCH=i386 CROSS_COMPILE=i586-pc-linux-gnu- modules
make ARCH=i386 CROSS_COMPILE=i586-pc-linux-gnu- ...?
At this point I should have the new kernel somwehere(I will find it).
Then I probably need some other packages to have a minimum(128MB compact
flash) system running. One of those would be 'lilo' Which else?
Where they get compiled?
After compiling everything I should copy some of this compiled stuff on
my CF.
For now that would be all.
Thanks,
Goran
Na 1074301543, 2004-01-17 ob 02:05, je Kumba napisal(a):
> Chris PeBenito wrote:
>
> > Well for the compiling at least, you just have to put the compiler in
> > the path:
> >
> > export PATH="/opt/crossdev/ppc/powerpc-unknown-linux-gnu/bin:${PATH}"
> >
> > is what I do to run the PPC cross compiler on my x86. So do something
> > like that, and then you just have to do is add ARCH=i386 when you do
> > make menuconfig, etc. I haven't tried compiling a kernel with the cross
> > compiler; perhaps kumba will correct me on this.
>
> Kernel part is easy, just run
>
> make ARCH=i386 CROSS_COMPILE=i586-pc-linux-gnu- <target>
>
> And you should be fine, just make sure to set your kernel for i586 class.
>
>
> --Kumba
--
gentoo-embedded@g.o mailing list
|
|