linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: brian.neidig@ni.com
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: Cross-compiling standard utilities for 860
Date: Wed, 26 Jan 2000 08:20:24 +0100	[thread overview]
Message-ID: <200001260720.IAA30349@denx.local.net> (raw)
In-Reply-To: Your message of "Tue, 25 Jan 2000 20:45:48 CST." <86256872.000F3FAD.00@notesmta.natinst.com>


In message <86256872.000F3FAD.00@notesmta.natinst.com> you write:
>
> I am using an 860 based board, and am in need of several of the 'standard' Linux
> utilities.  (shells, module support, ls, etc.)  In the past, I've always gone to

When your kernel has the FPU emulation code included  you  should  be
able  to run the tools from a standard LinuxPPC distribution; this is
probably not optimal but the  easiest  way  to  get  startet  and  to
provide the full working environment for NFS based systems.

This way you only need to recompile/optimize those tools  you  really
put into your embedded system.

> the net and started looking around for an RPM containing the source code that I
> need and then take that and compile it for my platform.  However, lately, I've
> spent a lot of time not finding what I am looking for.  Is there a place someone
> can suggest that I can go to and get many of the standard utilities in source?

Any of the GNU archives, of course. See ftp://prep.ai.mit.edu/pub/gnu
for a starting point and a list of mirror sites.

> Sometimes, these utilities are in RPMs (if not all the time.)  Is there a place

RPM's are already a higl-level  issue;  usually  you  will  find  the
sources in (compressed) tarballs.

> that I can go to get a list of what utilities are in what RPMs?  (That is, how

RTFM for RPM! Use "rpm -qa" to get a listing of all installed  RPM's,
and "rpm -ql ql <rpm_name>" to get a list of files that come with RPM
<rpm_name>.

> would I know that the source to ls is in x.y-4.rpm?)   Distributions build them,
> so they have to exist somewhere!

Use
	rpm -qf `which ls`
to find out that "ls" belongs to the fileutils RPM (and thus compiles
from the sources in the fileutils tarball from your GNU mirror site).

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
God may be subtle, but He isn't plain mean.         - Albert Einstein

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2000-01-26  7:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-26  2:45 Cross-compiling standard utilities for 860 brian.neidig
2000-01-26  7:20 ` Wolfgang Denk [this message]
     [not found] <388F1A55.D62E35B4@netx4.com>
2000-01-26 16:50 ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2000-01-26 17:04 Matthew R Wette

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=200001260720.IAA30349@denx.local.net \
    --to=wd@denx.de \
    --cc=brian.neidig@ni.com \
    --cc=linuxppc-embedded@lists.linuxppc.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).