- Back to Home »
- Library »
- Build alsa-lib-1.0.22
Saturday, October 3, 2015
Thư viện xử lý âm thanh PCM
export PATH=$PATH:/opt/FriendlyARM/toolschain/4.4.3/bin
export CROSS=arm-none-linux-gnueabi-
export HOST=arm-none-linux-gnueabi
export PREFIX=/friendlyarm
./configure --prefix=${PREFIX} --host=${HOST} CC=${CROSS}gcc
make
make install
Build alsa-utils-1.0.22
yum install ncurses ncurses-devel ncurses-libs ncurses-static
export PATH=$PATH:/opt/FriendlyARM/toolschain/4.4.3/bin
export CROSS=arm-none-linux-gnueabi-
export HOST=arm-none-linux-gnueabi
#export alsa-lib-1.0.22 da build
DEPEND_LIB_DIR=/friendlyarm
export CFLAGS=-I${DEPEND_LIB_DIR}/include
export CPPFLAGS=-I${DEPEND_LIB_DIR}/include
export LDFLAGS=-L${DEPEND_LIB_DIR}/lib
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:${DEPEND_LIB_DIR}/lib/pkgconfig
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${DEPEND_LIB_DIR}/lib
export PATH=$PATH:${DEPEND_LIB_DIR}/bin:${DEPEND_LIB_DIR}/sbin
export PREFIX=/friendlyarm
./configure --prefix=${PREFIX} --host=${HOST} CC=${CROSS}gcc
make
make install