출처 : http://chokori.tistory.com/10

export NM="/opt/q+esto/cdt/bin/arm-linux-nm"
export LD="/opt/q+esto/cdt/bin/arm-linux-ld"
export CC="/opt/q+esto/cdt/bin/arm-linux-gcc"
export CXX="/opt/q+esto/cdt/bin/arm-linux-g++"
export RANLIB="/opt/q+esto/cdt/bin/arm-linux-ranlib"
export AR="/opt/q+esto/cdt/bin/arm-linux-ar"

//SDL 기본 라이브러리


./configure --build=i386-linux --host=arm-linux --target=arm-linux \
--prefix=/opt/q+esto/cdt/arm-linux \
--x-includes=/opt/q+esto/cdt/arm-linux/include/X11/ \ 
--x-libraries=/opt/q+esto/cdt/arm-linux/lib/ --disable-debug  \
--disable-joystick --disable-cdrom --disable-diskaudio --disable-mintaudio \
--disable-esd --disable-nasm --disable-dga --disable-video-x11-dgamouse \
--disable-video-x11-xv --disable-video-x11-xinerama --disable-video-x11-xme \
--disable-video-dga --disable-video-photon --disable-video-ps2gs \
--disable-video-xbios --disable-video-gem --disable-video-opengl \
--disable-input-events --disable-stdio-redirect --disable-directx \
--disable-atari-ldg --enable-oss


-- SDL Image 라이브러리
./configure --build=i386-linux --host=arm-linux --target=arm-linux \
--prefix=/opt/q+esto/cdt/arm-linux \
--disable-gif --disable-lbm --disable-pcx --disable-pnm --disable-tga \
--disable-tif --disable-xcf --disable-xpm


-- SDL Mixer 라이블러리
./configure --build=i386-linux --host=arm-linux --target=arm-linux \
--prefix=/opt/q+esto/cdt/arm-linux \
--disable-sdltest --disable-music-cmd \
--disable-music-libmikmod --disable-music-mod --disable-music-midi \
--disable-music-timidity-midi --disable-music-native-midi \
--disable-music-native-midi-gpl --disable-music-ogg \
--disable-music-mp3 --disable-smpegtest\


---------------------------------------------------------------

directFB

[chokori@chokori ~/temp/DirectFB/DirectFB-0.9.21]$ ./configure
--host=i386-linux --target=arm-linux --prefix=/opt/q+esto/cdt/arm-linux/
--enable-fbdev --enable-sdl --enable-jpeg --enable-png --enable-gif
--enable-freetype :q
exit



SDL에서 마우스 체크하는 부분 빼는것은
export SDL_NOMOUSE 하면된다.
Posted by Real_G