| View previous topic :: View next topic |
| Author |
Message |
teluser Newbie

Joined: 27 Jul 2010 Posts: 4
|
Posted: Tue Jul 27, 2010 3:31 am Post subject: Cross Compiling of OpenOffice.org for ARM target |
|
|
Dear Team,
I am having OMAP board with embedded linux with arm 9 core,
I am interested in porting of OpenOffice.org to it.
What are prerequisites for cross compile
What are the steps to cross compile OpenOffice.org for ARM.
Thanks in advance,
teluser |
|
| Back to top |
|
 |
adavappa Newbie

Joined: 02 May 2010 Posts: 2
|
Posted: Tue Jul 27, 2010 10:15 pm Post subject: Re: Cross Compiling of OpenOffice.org for ARM target |
|
|
Hello,
I tried to cross compile with following steps:
1.Intially dmake needs to be configure independently
./configure CC=gcc
make
2.Undefine architecture dependent flag in the shell where we build to avoid mtune=pentium
export ARCH_FLAGS=""
3.Configure with command as below
./configure --with-java=no --enable-gtk --disable-mozilla --disable-gconf –disable-gnome-vfs --disable-qadevoo --disable-odk --with-use-shell=bash --disable-ldap --disable-vba --disable-fontooo --disable-mathmldtd --disable-cups --disable-directx --disable-activex --disable-systray --disable-kdeab --disable-binfilter--disable-neon --disable-Xaw --without-agg --without-ppds --without-afms --without-myspell-dicts --disable-junit --disable-largefile --disable-report-builder --disable-fontconfig --disable-atl --disable-verbose –without-fonts
--target=arm-unknown-linux --host=i686
CC=/opt/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-gcc --with-gcc -home=n/opt/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-gcc
--with-gxx-include-path=/opt/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-g++
4.Run Boot strap
./bootstrap
5.When the configure script has been run successfully a file LinuxX86Env.Set.sh was created
source LinuxX86Env.Set.sh
6.Export variable
export PKGFORMAT= “installed”
export OOO_FORCE_DESKTOP = “gnome”
export BUILD_DMAKE NO
7.Build the complete OpenOffice.org
cd instsetoo_native
build –all
I abserved error at this point:
=============
Building module soltools
/home/trainee/OOO310_m19/soltools/mkdepend
-------------
/home/trainee/OOO310_m19/soltools/adjustvisibility
-------------
/home/trainee/OOO310_m19/soltools/support
------------------------------
Making: ../unxlngi6.pro/obj/simstr.obj
/home/trainee/opt/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-g++ -fmessage-length=0 -c -Os -fno-strict-aliasing -I. -I../unxlngi6.pro/inc/soltools_support -I../inc -I../inc/pch -I../inc -I../unx/inc -I../unxlngi6.pro/inc -I. -I/home/trainee/OOO310_m19/solver/310/unxlngi6.pro/inc/stl -I/home/trainee/OOO310_m19/solver/310/unxlngi6.pro/inc/external -I/home/trainee/OOO310_m19/solver/310/unxlngi6.pro/inc -I/home/trainee/OOO310_m19/solenv/unxlngi6/inc -I/home/trainee/OOO310_m19/solenv/inc -I/home/trainee/OOO310_m19/res -I/home/trainee/OOO310_m19/solver/310/unxlngi6.pro/inc/stl -I/home/trainee/OOO310_m19/solenv/inc/Xp31 -INO_JAVA_HOME/include -INO_JAVA_HOME/include/linux -INO_JAVA_HOME/include/native_threads/include -I/usr/include -I/home/trainee/OOO310_m19/solver/310/unxlngi6.pro/inc/offuh -I. -I../res -I. -pipe -Wall -Wextra -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -DCVER=C341 -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/opt/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-montavista-linux-gnueabi/4.2.0/../../../../target/usr/include/c++/4.2.0 -DSUPD=310 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DCUI -fno-exceptions -DEXCEPTIONS_OFF -o ../unxlngi6.pro/obj/simstr.o /home/trainee/OOO310_m19/soltools/support/simstr.cxx
cc1plus: warning: include location "/usr/include" is unsafe for cross-compilation
if test -e ../unxlngi6.pro/obj/simstr.o ; then touch ../unxlngi6.pro/obj/simstr.obj ; fi
../unxlngi6.pro/bin/makedepend @/tmp/mkswyvee > ../unxlngi6.pro/misc/o_simstr.dpcc
/bin/bash: ../unxlngi6.pro/bin/makedepend: cannot execute binary file
dmake: Error code 126, while making '../unxlngi6.pro/obj/simstr.obj'
dmake: '../unxlngi6.pro/obj/simstr.obj' removed.
ERROR: Error 65280 occurred while making /home/traineej/OOO310_m19/soltools/support
rmdir /tmp/3522
I am not able to proceed.
Please any body guide me whether my approach is rite or not?
Thanks,
adavapa
| teluser wrote: | Dear Team,
I am having OMAP board with embedded linux with arm 9 core,
I am interested in porting of OpenOffice.org to it.
What are prerequisites for cross compile
What are the steps to cross compile OpenOffice.org for ARM.
Thanks in advance,
teluser |
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|