mpg123 arm交叉编译

Makefile文件增加

linux-arm:
    $(MAKE) CC=arm-linux-gnueabihf-gcc-4.6  LDFLAGS= \
            OBJECTS='decode.o dct64.o audio_oss.o term.o' \
            CFLAGS='-DREAL_IS_FIXED –I/usr/include/arm-linux-gnueabihf/ -DLINUX -DTERM_CONTROL \
                    -DOSS -Wall -O6 -mtune=xscale \
                    -fomit-frame-pointer -funroll-all-loops \
                    -finline-functions -ffast-math' \
            mpg123-make


make linux-arm

交叉编译mp3播放器--mpg321
0 分享

要回复文章请先登录注册