Re: [porting-dev] Re: [dev] EducOOo donated code for ARM Linux port
Rene Engelhard <[email protected]> Sat, 19 Feb 2011 13:55:50 +0100
| Newsgroups | gmane.comp.openoffice.devel.marketing |
|---|---|
| Organization | OpenOffice.org |
| Message-ID | <20110219125550.GC31066__21409.491755958$1298131609$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é