mpg123 for ubuntu
./configure --prefix=/opt/host/usr/mpg123 --target=i686-linux --host=i686-linux \
CC=gcc CXX=g++ \
--with-default-audio=alsa \
CFLAGS="-g -I/opt/host/usr/include -I/opt/host/usr/include/alsa -L/opt/host/usr/lib -lasound \
-Wl,-rpath=../libmpg123/.libs -Wl,-rpath=."
check "this is a custom Makefile"
Execution directory: /root/mpg123-1.16.0
output filename: src/.libs/mpg123
Execution working dir: src/.libs
chance target to "all": $make -f $makefile all
add mpg123.c to project, set a breakpoint then press debug button.
NOTE: you have to add "-g" to generate debug information
"-rpath" indicated where libs directory it is when app running
./configure --prefix=/opt/host/usr/mpg123 --target=i686-linux --host=i686-linux \
CC=gcc CXX=g++ \
--with-default-audio=alsa \
CFLAGS="-g -I/opt/host/usr/include -I/opt/host/usr/include/alsa -L/opt/host/usr/lib -lasound \
-Wl,-rpath=../libmpg123/.libs -Wl,-rpath=."
check "this is a custom Makefile"
Execution directory: /root/mpg123-1.16.0
output filename: src/.libs/mpg123
Execution working dir: src/.libs
chance target to "all": $make -f $makefile all
add mpg123.c to project, set a breakpoint then press debug button.
NOTE: you have to add "-g" to generate debug information
"-rpath" indicated where libs directory it is when app running