Re: [porting-dev] Re: [dev] EducOOo donated code for ARM Linux port

Rene Engelhard <[email protected]>
Newsgroups gmane.comp.openoffice.devel.general
Organization OpenOffice.org
Message-ID <20110219125550.GC31066__41239.6507607356$1298120311$gmane$org@rene-engelhard.de>
Hi,

On Sat, Feb 19, 2011 at 01:51:02PM +0100, Rene Engelhard wrote:
> ARM_TARGET=7

Oh, and this:

+# Default is armv7 mini. If you build
+# for an older version (could be slow),
+# please adapt to your needs
+
+.IF "$(ARM_TARGET)" == "ARMV6"
+ARCH_FLAGS+=-march=armv6 -mfloat-abi=softfp -D__SOFTFP__
+CDEFS+=-DARMV6
+.ENDIF
+
+.IF "$(ARM_TARGET)" == "ARMV7"
+ARCH_FLAGS+=-march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -D__SOFTFP__
+CDEFS+=-DARMV7
+.ENDIF
+

is broken, too.
*If* you want to optimize for speed, you want hardfp, and IMHO you don't need to
specify -mfloat-abi=softfp -D__SOFTFP__ manually in either case, that's the job of your toolchain.

Grüße/Regards,

René
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.