linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* How to compile freescale example programs using eldk?
@ 2006-01-06  8:23 zengshuai
  2006-01-06 10:08 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: zengshuai @ 2006-01-06  8:23 UTC (permalink / raw)
  To: ppc

I down some freescale example programs at 
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MPC8260&nodeId=02VS0lDFTQJk192977

Device Drivers 
ID and Description                                   Vendor          ID      Format Size K  Rev # Availability 
MPC8260API
PowerQUICC II API (Drivers and Examples) 
Includes support for PCI, AAL2, AAL5, MSP, and more(10/03/2002)   FREESCALE   zip   15785   4.0.2     

Them aren't linux drvier but for bareboard. How can I compile them using eldk?

------------------------------
我现在使用Sogou.com的2G邮箱了,你也来试试吧! 
http://mail.sogou.com/recommend/sogoumail_invite_reg1.jsp?from=sogouinvitation&s_EMAIL=zengshuai%40sogou.com&username=linuxppc-embedded&FullName=linuxppc-embedded&Email=linuxppc-embedded%40ozlabs.org&verify=755eff4e640bdcfc57d93cbd8b0a9cb7

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to compile freescale example programs using eldk?
  2006-01-06  8:23 How to compile freescale example programs using eldk? zengshuai
@ 2006-01-06 10:08 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2006-01-06 10:08 UTC (permalink / raw)
  To: zengshuai; +Cc: ppc

In message <6251452.1136535834574.JavaMail.postfix@mx3.mail.sohu.com> you wrote:
>
> Them aren't linux drvier but for bareboard. How can I compile them using eldk?

You do it exactly the same way like you do it with any other compiler
toolchain.

If the tools come with Makefiles and Linker scripts for GNU  gcc  and
ld  then  you are set. If not, you will have to come up with your own
build rules and linker commands.

You can check how U-Boot code (especially  the  standalone  programs)
gets  linked, but be warned, this is not exactly trivial. You have to
understand what you are doing, and how the linker works.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Just because your doctor has a name for your condition  doesn't  mean
he knows what it is.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-01-06 10:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-06  8:23 How to compile freescale example programs using eldk? zengshuai
2006-01-06 10:08 ` Wolfgang Denk

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).