[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cross-compiling the kernel



On Mon, May 10, 1999 at 07:52:07PM +0100, edmundo@rano.demon.co.uk wrote:
> Unpack the source packages:
>
> $ tar xzf binutils_2.9.1.0.19a.orig.tar.gz
> $ bzcat egcs-1.1.2.tar.bz2
>

Just a note, you can skip the entire portion dealing with the binutils
if you install the binutils-multiarch package, which can handle objects
from any of binutils supported architecures. This means you only need
to build the cross-compiler itself.

You may also want to look at the gcc-m68k cross compiler from hamm (it
used gcc 2.7.2.3) which is what I used to build my i386->sparc cross
compiler for kernels (just changed m68k to sparc in the debian/rules
file). The same rules file could possibly be used for egcs with some
tweaking.

--
-----    -- - -------- --------- ----  -------  -----  - - ---   --------
Ben Collins <bcollins@debian.org>                        Debian GNU/Linux
OpenLDAP Dev - bcollins@openldap.org     The Choice of the GNU Generation
------ -- ----- - - -------   ------- -- ---- - -------- - --- ---- -  --


Reply to: