1 下載并解開,URL: http://www.openal.org/openal_webstf/downloads/freealut-1.1.0.tar.gz
?? 我的OpenAL安裝目錄在系統(tǒng)變量OPENAL_OLO_DIR上

2 設(shè)置環(huán)境變量:
?? 輸入
?? CPPFLAGS="-I${OPENAL_OLO_DIR}/include"
?? LDFLAGS="-L${OPENAL_OLO_DIR}/lib"
?? export CPPFLAGS LDFLAGS

3 編譯設(shè)置:
?? 輸入: CC=arm-linux-gcc ./configure -prefix=$PREFIX -target=arm-linux --enable-shared -with-softfloat --host=arm-linux

4 編譯
?? make

5 安裝
? make install

6 確認(rèn)的方法與編譯OpenAL方法的相同

(end)