Skip to contentSkip to conversation

Cross-compiling standard utilities for 860

DISCUSSION [email protected] 2 participants 2 messages Jan 26, 2000

lore
Share & tools
lore
#0 lore raw

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 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?

Sometimes, these utilities are in RPMs (if not all the time.) Is there a place that I can go to get a list of what utilities are in what RPMs? (That is, how
would I know that the source to ls is in x.y-4.rpm?) Distributions build them,
so they have to exist somewhere!

Thanks,
Brian Neidig

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

#1 lore raw

In message <[email protected]> you write:

Quoted 3 lines

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.

Quoted 4 lines

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.

Quoted 1 line

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.

Quoted 1 line

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

Quoted 2 lines

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: [email protected]
God may be subtle, but He isn't plain mean. - Albert Einstein

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