1.Minigui编译
export PREFIX=/home/ray/work/TCC/app/MiniGUI-2.0.3/target
export LDFLAGS=-L$PREFIX/lib
export CFLAGS="-g -I$PREFIX/include"
export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig
libminigui:
aclocal
autoconf
automake
CC=arm-none-linux-gnueabi-gcc ./configure --prefix=$PREFIX --host=arm-none-linux-gnueabi --target=arm-none-linux-gnueabi --build=i686-pc-linux --enable-standalone
2.mg-samples:
1. 修改src/Makefile
CC=gcc ===> CC = arm-none-linux-gnueabi-gcc
CPP = gcc -E ===> CPP = arm-none-linux-gnueabi-gcc -E
CC=arm-none-linux-gnueabi-gcc LD=arm-none-linux-gnueabi-ld make CFLAGS="-I$PREFIX/include" LDFLAGS="-L$PREFIX/lib"
3.minigui-res:
拷贝到 /usr/local/lib/minigui/res
4.拷贝/etc/MiniGUI.cfg
5.修改MiniGUI.cfg
gal_engine=qvfb ======> gal_engine=fbcon
ial_engine=qvfb ======> ial_engine=dummy
[fbcon]
defaultmode=1024x768-16bpp =====> defaultmode=1280x720-16bpp
阅读(718) | 评论(0) | 转发(0) |