What is LAME?
LAME is an MPEG Audio Layer III (MP3) encoder licensed under the LGPL.
1. As usual, before cross compiling always set the environment variables to set the compiler environment variables to point to your ARM tool chain.
# set environment variables
export PATH=$PATH:/usr/local/arm/3.3/bin/
export CC=arm-linux-gcc
export CXX=arm-linux-g++
export LD=arm-linux-ld
export AR=arm-linux-ar
export NM=arm-linux-nm
export RANLIB=arm-linux-ranlib
2. Then you have to configure your source to be compiled for ARM in a statically linked fashion
./configure –enable-static –disable-shared –with-fileio=lame –host=arm-linux
3. Build the binaries and enjoy Encoding…
make
make install prefix=/ramdisk/home/knoppix/lame-3.97
and you get this…
Happy Encoding…



