On Mon, 2006-09-18 at 13:27 -0400, Lee Revell wrote:
What's the smallest and simplest command line MP3 player available? I
need it for testing an embedded system. It must be cross-compilable for
PPC target. The fewer dependencies the better (ideally it would be
self-contained).
$ ldd /usr/bin/mpg321
linux-gate.so.1 => (0x45365000)
libid3tag.so.0 => /usr/lib/libid3tag.so.0 (0x45510000)
libmad.so.0 => /usr/lib/libmad.so.0 (0x469e3000)
libz.so.1 => /usr/lib/libz.so.1 (0x454e5000)
libao.so.2 => /usr/lib/libao.so.2 (0x45577000)
libdl.so.2 => /lib/libdl.so.2 (0x454df000)
libc.so.6 => /lib/libc.so.6 (0x45383000)
libpthread.so.0 => /lib/libpthread.so.0 (0x454fa000)
/lib/ld-linux.so.2 (0x45366000)
$ ls -lh /usr/bin/mpg321
-rwxr-xr-x 1 root root 47K Mar 14 2006 /usr/bin/mpg321
$ file /usr/bin/mpg321
/usr/bin/mpg321: ELF 32-bit LSB executable, Intel 80386, version 1
(SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for
GNU/Linux 2.6.9, stripped
I'm pretty sure those dependencies can be trimmed off even further, the
exe made static, etc.
--
Florin Andrei
http://florin.myip.org/