sudo yum -y install libtool
yum install glibc.i586
yum install texinfo
yum install python-dev*
yum install gtk2.i586 gtk2 gtk2-devel.i586
*yum install libgcc gcc-c++
yum groupinstall "X Window System"
yum install llvm
ncurses ncurses-devel glibc glibc-devel libXpm libXpm-devel xterm xorg-x11-fonts-misc
./autogen.sh
automake
./configure
make lib
make
make install_lib
sudo make install
cd /opt/skyeye/testsuite/arm_hello
/opt/skyeye/bin/skyeye_main.py -e arm_hello
即會叫出 <skyeye>, 此時分別輸入命令
$ <skyeye> start // 會出現一個小視窗, 此為模擬Embedded System之輸出
$ <skyeye> run // 會在小視窗中出現 Hello World , 這是 arm_hello 所送出
$ <skyeye> stop // 停止arm_hello 之執行, Hello World會停止出現
$ <skyeye> quit // 離開 skyeye
##############################################
Ubuntu
sudo apt-get install libgtk2.0-dev pkg-config libatk1.0-dev libpango1.0-dev libfreetype6-dev libglib2.0-dev libx11-dev binutils-dev libncurses5-dev libxpm-dev
llvm-2.8:
./configure make
sudo make install
skyeye-1.3.3_rel.tar.gz
./configure make lib make sudo make install sudo make install_lib
沒有留言:
張貼留言