linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: zengshuai@sogou.com
Cc: ppc <linuxppc-embedded@ozlabs.org>
Subject: Re: How to compile freescale example programs using eldk?
Date: Fri, 06 Jan 2006 11:08:44 +0100	[thread overview]
Message-ID: <20060106100844.A025D354113@atlas.denx.de> (raw)
In-Reply-To: Your message of "Fri, 06 Jan 2006 16:23:54 +0800." <6251452.1136535834574.JavaMail.postfix@mx3.mail.sohu.com>

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.

      reply	other threads:[~2006-01-06 10:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-06  8:23 How to compile freescale example programs using eldk? zengshuai
2006-01-06 10:08 ` Wolfgang Denk [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=20060106100844.A025D354113@atlas.denx.de \
    --to=wd@denx.de \
    --cc=linuxppc-embedded@ozlabs.org \
    --cc=zengshuai@sogou.com \
    /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).