nanogui: Successfully cross compiling ViewML for Assabet
Subject:
Successfully cross compiling ViewML for Assabet
From:
#YANG XIAOYONG# ####@####.####
Date:
1 Feb 2001 16:01:35 -0000
Message-Id: <A5D4F474BCA0D111AD2408002BA613F8082580F3@mail1.ntu.edu.sg>
Here is how I cross compile the ViewML. Just share with those who are
looking for solutions.
1. Cross-compiled FLNX
2. Copy the libjpeg.a file the ~/flnx/lib directory
3. Cross-compiled libwww:
#./configure
#export AR=/skiff/local/bin/arm-linux-ar
(Same for AS, CC, CXX, GXX, LD, NM, RANLIB, STRIP)
#make -e
#make install
4. Cross-compiled ViewML:
#PATH=/skiff/local/bin:$PATH
#./configure
--with-microwin=/home/yxy/microwin/src
--with-fltk=/home/yxy/flnx
--host=arm-linux
5. modify the file makeinclude in the ~/viewml0.18 directory
"LIBS = -L/skiff/local/arm-linux/lib -lpthread -L/home/yxy/microwin/src/lib
-lnano-X -lmwengine -lmwdrivers -lmwfonts -L/home/yxy/flnx/lib -lfltk -ljpeg
`/usr/local/bin/libwww-config --libs`"
It should be in one line.
6.#export AR=/skiff/local/bin/arm-linux-ar
(Same for AS, CC, CXX, GXX, LD, NM, RANLIB, STRIP)
#make -e
then check the viewml binary in the src directory
Note:
I am using the skiff cross compiler form www.handhelds.org
Please feel free to give comments.
Regards,
Xiaoyong