Subject: Re: how to cross compile install kernel?
To: Izumi Tsutsui <email@example.com>
From: Christian Groessler <firstname.lastname@example.org>
Date: 03/07/2001 14:49:29
On 03/06/2001 08:49:30 PM ZE9 Izumi Tsutsui wrote:
>> How would I create a crunchide, hosted on i386 and working with
>> powerpc object files?
>Maybe you have to use pkgsrc/cross/bfd-crunchide and
Thanks. Using them I can create the ramdisk image.
FYI, it didn't work out of the box:
First, the two packages didn't install properly. "make install" copied
the exes to /usr/pkg/cross/bin but then aborted with some error
messages I can't remember the exact error, it seemed to have something
to do with the shell.
Second, the final link of ramdiskbin failed with many unresolved
symbols of the type "_crunched_xxx_stub", with xxx like cat, chmod,
When I changed the crunchide invocation to remove the leading _ from
the symbol, the symbol is correctly unhidden. So instead of
crunchide -k _crunched_cat_stub cat.cro
I had to use
crunchide -k crunched_cat_stub cat.cro
I don't really understand why, because the symbol in cat_stub.o _has_