[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OOo for mips



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Martin Michlmayr wrote:
> * Rene Engelhard <rene@debian.org> [2006-03-24 15:44]:
> > mips or mipsel? Or both? Is there some fast machine available to
> > build/test it on? (except the buildds...)
> 
> Below are some notes from Fuxin Zhang, and the files he sent me are
> attached.  I can give you an account on a fast mips box (and probably
> also on a mipsel machine) if you want to work on this, Rene.

Thanks. I just had a quick look (only after the porting pieces, for the
other buildfixes where you questioned whether they may be needed though
we'd see later ]

[ could you next time please do diff -urN. Thanks. -u because it's
better readable and for -rN, see below ]

> diff -r ./bridges/prj/build.lst ../../software/OOo_2.0.0rc3_src/bridges/prj/build.lst
> 13d12
> < br	bridges\source\cpp_uno\gcc3_linux_mips		nmake	-	u	br_gcclm3 br_cppuno_shared br_unotypes NULL

OK.

> Only in ./bridges/source/cpp_uno: gcc3_linux_mips

Thanks. Did a patch out of it.

> diff -r ./config_office/set_soenv.in ../../software/OOo_2.0.0rc3_src/config_office/set_soenv.in
> 430,440d429
> <    elsif ($platform =~ m/^mips/)
> <    {  print "Setting Linux MIPS specific values... ";
> <       $outfile        = "LinuxMIPSEnv.Set"; 
> <       $CPU            = "M";
> <       $CPUNAME        = "MIPS";
> <       $DLLSUFFIX      = "lm";
> <       $OUTPATH        = "unxlngmips";
> <       $JRELIBDIR      = '$JAVA_HOME'.$ds."jre".$ds."mips";
> <       $JRETOOLKITDIR  = '$JAVA_HOME'.$ds."jre".$ds."mips".$ds."client";
> <       $JRETHREADDIR   = '$JAVA_HOME'.$ds."jre".$ds."mips".$ds."native_threads";
> <    }

Specifying DLLSUFFIX there fails configure with newer releases. Have to
find out why

> Only in ./solenv/inc: unxlngmips.mk

This important file is completely missing. Can you resend it? Here -rN
would have helped ;)

> diff -r ./solenv/inc/unx.mk ../../software/OOo_2.0.0rc3_src/solenv/inc/unx.mk
> 185,188d184
> < .IF "$(COM)$(OS)$(CPU)" == "GCCLINUXM"
> < .INCLUDE : unxlngmips.mk
> < .ENDIF
> < 

Look OK.

> diff -r ./tools/inc/solar.h ../../software/OOo_2.0.0rc3_src/tools/inc/solar.h
> 359d358
> < #define SYSTEM_UNXLNXM		33
> 404,406d402
> < #elif defined LINUX && defined MIPS
> <   #define __DLLEXTENSION "lm.so"
> <   #define SYSTEM_ID 		SYSTEM_UNXLNXM

At least in 2.0.3rc3, 33 is Mac OS X/Intel, so we'd need to change that
to 34 I guess.

In automation, you need to add stuff like that, too for 2.0.3.
(automation/testtools. x86_64 took 15 in ooo-build and sparc got 16 for
so I guess mips should get 17 but that has to be coordinated with the OOo
upstreams)

Another note for the future: Can you (and maybe the original author of
the bridges if you didn't write everything of it yourself) please sign the JCA (see
http://contributing.openoffice.org/programming.html)? It is needed if
those patches should be included in upstream sometimes and - what is
important here for now - also for ooo-build; where your patches would land
when I decide to use them.

The bridges are no-Java and no-python, right?

Regards,

Rene
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEi1zb+FmQsCSK63MRAu2qAKCB5q6oXQWdauRhVrikxmzaJCdUpACfb2dv
NSXfYHvcBGXr55Pra5rG/UQ=
=CdPK
-----END PGP SIGNATURE-----



Reply to: