<meter id="pryje"><nav id="pryje"><delect id="pryje"></delect></nav></meter>
          <label id="pryje"></label>

          新聞中心

          ARM環(huán)境下編譯ALSA

          作者: 時(shí)間:2016-11-11 來源:網(wǎng)絡(luò) 收藏
          1:下載源文件
          (1): alsa-lib-1.0.26.tar.bz2
          (2):alsa-utils-1.0.26.tar.bz2
          2: 把上述兩個(gè)文件解壓到同一個(gè)文件夾下面.
          3: 編寫配置腳本如下(注意交叉編譯器的路徑根據(jù)自己具體的情況修改)
          #!/bin/sh
          ALSA_LIB_INC=$PWD/alsa-lib-1.0.26/include
          INSTALL_DIR=$PWD/alsa-lib-1.0.26/INSTALL
          rm -rf $INSTALL_DIR
          mkdir $INSTALL_DIR
          cd ./alsa-lib-1.0.26/
          ./configure --host=arm-linux --target=arm-linux --enable-shared --disable-python CC=/home/hsx/crossgcc/arm-2011.03/bin/arm-none-linux-gnueabi-gcc --with-configdir=$INSTALL_DIR --prefix=$INSTALL_DIR
          make
          make install
          cd ..
          cd ./alsa-utils-1.0.26/
          ./configure --host=arm-linux --target=arm-linux CPPFLAGS=-I$INSTALL_DIR/include CC=/home/hsx/crossgcc/arm-2011.03/bin/arm-none-linux-gnueabi-gcc LDFLAGS=-L$INSTALL_DIR/lib --disable-option-checking --disable-FEATURE--disable-nls --disable-dependency-tracking --enable-dependency-tracking --disable-alsatest --disable-alsamixer --disable-alsaconf --disable-alsaloop --disable-xmlto --disable-largefile
          make



          關(guān)鍵詞: ARM環(huán)境編譯ALS

          評(píng)論


          技術(shù)專區(qū)

          關(guān)閉
          看屁屁www成人影院,亚洲人妻成人图片,亚洲精品成人午夜在线,日韩在线 欧美成人 (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })();