Tuesday, January 17, 2006


pdaXrom : I would like to build the development environment on Linux, but I couldn't build the cross development tools. I reinstalled the latest ROM, v1.1.0beta, and installed the self developers tool as the following.
1. cp /mnt/card/zgcc-3.4.5.img /mnt/ide3/
2. mkdir -p /opt/native/arm/3.4.5-xscale-softvfp
3. mount -t cramfs loop,rw /mnt/card/zgcc/zgcc-3.4.5.img
/opt/native/arm/3.4.5-xscale-softvfp
4. Install cvs and perl using the Package manager.
I would like to create the configure script on Linux, but the following error messages were occurred.
/opt/native/arm/3.4.5-xscale-softvfp/share/aclocal-1.9/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/opt/native/arm/3.4.5-xscale-softvfp/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES
autom4te: need GNU m4 1.4 or later: /opt/native/i686/3.4.5-2.2.5/bin/m4
aclocal: autom4te failed with exit status: 1
autom4te: need GNU m4 1.4 or later: /opt/native/i686/3.4.5-2.2.5/bin/m4
autoheader: /opt/native/arm/3.4.5-xscale-softvfp/bin/autom4te failed with exit status: 1
autom4te: need GNU m4 1.4 or later: /opt/native/i686/3.4.5-2.2.5/bin/m4
automake: autoconf failed with exit status: 1
autom4te: need GNU m4 1.4 or later: /opt/native/i686/3.4.5-2.2.5/bin/m4
Then, I created the configure script on Linux, and transferred the script files. Finally, I could compile and run the all projects of CyberLink for C using the following command.
LDFLAGS="-Wl,-rpath-link,/opt/arm/3.3.2/armv5tel-cacko-linux/X11R6/lib" ./configure --host=armv5tel-cacko-linux 
--build=i686-linux--x-includes=/opt/arm/3.3.2/armv5tel-cacko-linux/X11R6/include
--x-libraries=/opt/arm/3.3.2/armv5tel-cacko-linux/X11R6/lib

Comments:
The cramfs file zgcc-3.4.5.img is for on-board C/C++ development, i. e. it only works on the Zaurus and contains only arm compatible executables. It is not a cross-compiling system for x86 Linux.
 
Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?