From: "alayrac" <christophe.alayrac@cresitt.com>
To: "'patel nirav'" <indianirav@yahoo.com>,
"'linux ppc'" <linuxppc-embedded@ozlabs.org>
Subject: RE : how to cross compile 2.4.18
Date: Thu, 18 Jan 2007 15:25:10 +0100 [thread overview]
Message-ID: <001301c73b0c$762b8b40$c900a8c0@CRESITTLAB> (raw)
In-Reply-To: <627126.73541.qm@web30001.mail.mud.yahoo.com>
Hi Nirav,
First you can add the path to your brown new cross compiler in your PATH
(export PATH=3D$PATH:/opt/crosstool/...).=20
To add it permanently to your PATH just add this export line at the
end of your /home/YOURACCOUNT/.bashrc file, it will be take in account
on next open of a shell.
Then to compile the kernel you can do
make ARCH=3Dppc menuconfig=20
make ARCH=3Dppc CROSS_COMPILE=3Dpowerxxx- dep zImage
with powerxxx- the prefix of your cross compiler (in my case it
is powerpc-405-linux-gnu- dont forget the last =96 of the prefix)
or=20
you can modify the Makefile in the roort directory of your kernel
source and change ARCH and CROSS_COMPILE and then just type
make menuconfig
make dep zImage
NOTE : I=92m not sure if ARCH is ppc or powerpc in your case.
Regards
Chris
-----Message d'origine-----
De=A0: =
linuxppc-embedded-bounces+christophe.alayrac=3Dcresitt.com@ozlabs.org
[mailto:linuxppc-embedded-bounces+christophe.alayrac=3Dcresitt.com@ozlabs=
.
org] De la part de patel nirav
Envoy=E9=A0: jeudi 18 janvier 2007 14:30
=C0=A0: linux ppc
Objet=A0: how to cross compile 2.4.18
Hello friends=20
I have installed crosstool-0.42 for the powerpc 604 in the
/opt/crosstool.
Now At the time of Installation I use gcc-3.4.1, glibc-2.3.3 and linux
kernel 2.4.18,
Now my question is how to use the crosstool to cross compile the linux
kernel 2.4.18 for power pc.
prev parent reply other threads:[~2007-01-18 14:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-18 13:29 how to cross compile 2.4.18 patel nirav
2007-01-18 14:05 ` Ming Liu
2007-01-18 14:25 ` alayrac [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='001301c73b0c$762b8b40$c900a8c0@CRESITTLAB' \
--to=christophe.alayrac@cresitt.com \
--cc=indianirav@yahoo.com \
--cc=linuxppc-embedded@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).