* Re: Cross Compiling driver for PPC
@ 2006-01-04 13:44 Nathael Pajani
0 siblings, 0 replies; 2+ messages in thread
From: Nathael Pajani @ 2006-01-04 13:44 UTC (permalink / raw)
To: linuxppc-embedded
Hi
> We are trying to port a newly developed device driver for powerPC .
> We are unable to compile it for powerpc driver on Host platform.
> Please give us the way to compile the device driver
=20
You need to cross compile, which means having a ggc for powerpc in addition=
to the gcc you have for your developpement machine.
I do not know whether you will find it on the net, usualy you have to recom=
pile gcc (and "ld" and "ar" and so on, the whole gcc toolchain I think) wit=
h specific options
Then you will have a powerpc-linux-gcc (for example) which will be able to =
compile for powerpc
then, you will have some modifications to do in the makefiles: look for thi=
s string: "CROSS_COMPILE" and set it to "powerpc-linux-" (or whatever is th=
e prefix for you gcc).
I also created a ".arch" file at the base of the source tree, containing "p=
pc" and some other modifications in makefiles, but I cannot tell you wich..=
. and wether they are usefull. You'll have to try.
Then add "ARCH=3Dppc" option to the make command when you want to compile y=
our kernel for powerpc.
Have fun.
+++
----=20
Nathael PAJANI
Ing=E9nieur CPE Lyon
nathael.pajani@cpe.fr
^ permalink raw reply [flat|nested] 2+ messages in thread
* Cross Compiling driver for PPC
@ 2006-01-02 11:52 venkatajagadeesh p
0 siblings, 0 replies; 2+ messages in thread
From: venkatajagadeesh p @ 2006-01-02 11:52 UTC (permalink / raw)
To: linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 306 bytes --]
Hi,
We are trying to port a newly developed device driver for powerPC . We are unable to compile it for powerpc driver on Host platform. Please give us the way to compile the device driver
---------------------------------
Yahoo! Shopping
Find Great Deals on Holiday Gifts at Yahoo! Shopping
[-- Attachment #2: Type: text/html, Size: 511 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-01-04 13:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-04 13:44 Cross Compiling driver for PPC Nathael Pajani
-- strict thread matches above, loose matches on Subject: below --
2006-01-02 11:52 venkatajagadeesh p
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).