Specifications
SHARP CORPORATION
Sharp SL-series Zaurus “Qtopia” Development Start-up Guide
Ver 1.11, February 28, 2003, 13/63
Batch file #2, dev-arm-qpe.sh
#!/bin/bash
# dev-arm-qpe.sh script
# location : /usr/bin
#
if [ -z ${ORG_PATH} ]
then
ORG_PATH=${PATH}
export ORG_PATH
fi
if [ -z ${ORG_LD_LIBRARY_PATH} ]
then
ORG_LD_LIBRARY_PATH=${LD_LIBRARY_PATH}
export ORG_LD_LIBRARY_PATH
fi
CROSSCOMPILE=/opt/Embedix/tools:/usr/local/x86/2.95.3/bin:/opt/Embedix/tools
QPEDIR=/opt/Qtopia/sharp
QTDIR=/opt/Qtopia/sharp
PATH=$QTDIR/bin:$QPEDIR/bin:$CROSSCOMPILE/bin:${ORG_PATH}
TMAKEPATH=/opt/Qtopia/tmake/lib/qws/linux-sharp-g++/
LD_LIBRARY_PATH=$QTDIR/lib:${ORG_LD_LIBRARY_PATH}
export QPEDIR QTDIR PATH LD_LIBRARY_PATH TMAKEPATH PS1
echo "Altered environment for Sharp Zaurus Development ARM"
When you want to compile and test x86 applications run source dev-x86-qpe.sh from your home directory.
Conversely, run source dev-arm-qpe.sh when you want to cross compile to run on the Zaurus.
1.1.5. tmake, a cross-platform makefile tool
The tmake tool is an easy-to-use tool from Trolltech to create and maintain makefiles for software projects. It can
be a painful task to manage makefiles manually, especially if you develop for more than one platform or use more
than one compiler. The tmake tool automates and streamlines this process and lets you spend your valuable time
writing code, not makefiles.
The tmake tool can be found at http://www.trolltech.com/developer/download/tmake.html
.