Re: [Lazarus] ARMV7

2013-05-17 Thread Marc Santhoff
Am Mittwoch, den 15.05.2013, 16:07 +0200 schrieb Kjow: 2013/5/14 Kjow antispamm...@gmail.com Hi all, I'm trying to build androidlcl test project with ARMV7 VFPV3, but there are problems. [cut] Can I solve both ARMV7 and VFPV3? Since noone answers you - the pros must be

Re: [Lazarus] ARMV7

2013-05-17 Thread Kjow
2013/5/17 Marc Santhoff m.santh...@web.de Since noone answers you - the pros must be away for holidays or so ... But beware, I'm really no expert in cross compiling. Thank you for the answer, but... I think this message says, you will have to recompile the RTL using the new set of

Re: [Lazarus] ARMV7

2013-05-17 Thread Sven Barth
Am 15.05.2013 09:49, schrieb Kjow: error on FPC compiling I haven't tried, but please be verbose about the error. With: CROSSOPT=-CfVFPV3 -OoFASTMATH -CpARMV7 ... ... ... c:\Develop\fpc\2.7.x\rtl\units\arm-android\system.s:59995: Error: lo register required -- `ldmfd

Re: [Lazarus] ARMV7

2013-05-17 Thread Sven Barth
Am 17.05.2013 13:56, schrieb Sven Barth: Am 15.05.2013 09:49, schrieb Kjow: error on FPC compiling I haven't tried, but please be verbose about the error. With: CROSSOPT=-CfVFPV3 -OoFASTMATH -CpARMV7 ... ... ... c:\Develop\fpc\2.7.x\rtl\units\arm-android\system.s:59995: Error:

Re: [Lazarus] ARMV7

2013-05-17 Thread Sven Barth
Am 15.05.2013 16:07, schrieb Kjow: 2013/5/14 Kjow antispamm...@gmail.com mailto:antispamm...@gmail.com Hi all, I'm trying to build androidlcl test project with ARMV7 VFPV3, but there are problems. [cut] Can I solve both ARMV7 and VFPV3? Well, about ARMV7 I think I have

Re: [Lazarus] ARMV7

2013-05-17 Thread Kjow
2013/5/17 Sven Barth pascaldra...@googlemail.com I tried with CROSSOPT=-CfSOFT -OoFASTMATH -CpARMV7A and it works! Lazarus can build ARMV7A projects, but no luck with VFPV3. Thinking about it a bit the problem is not the compiler or the units, but the settings in Lazarus. If you compiled

Re: [Lazarus] ARMV7

2013-05-17 Thread Sven Barth
Am 17.05.2013 14:32, schrieb Kjow: 2013/5/17 Sven Barth pascaldra...@googlemail.com mailto:pascaldra...@googlemail.com I tried with CROSSOPT=-CfSOFT -OoFASTMATH -CpARMV7A and it works! Lazarus can build ARMV7A projects, but no luck with VFPV3. Thinking about it a bit the problem

Re: [Lazarus] ARMV7

2013-05-17 Thread Marc Santhoff
Am Mittwoch, den 15.05.2013, 09:49 +0200 schrieb Kjow: Hi, 2013/5/15 leledumbo leledumbo_c...@yahoo.co.id Isn't the error message clear enough? The error is clear, but the solution is not... PPU Loading C:\Develop\fpc\2.7.x\units\arm-android\rtl\system.ppu Trying to use a

Re: [Lazarus] ARMV7

2013-05-17 Thread Kjow
2013/5/17 Sven Barth pascaldra...@googlemail.com And as I wrote in my mail you need to apply this to all other packages AND the IDE options (because these are used for the packages FCLLaz and LCL) as well (or add it to your fpc.cfg). You are NOT doing this by adding the options to Other.

Re: [Lazarus] ARMV7

2013-05-17 Thread Kjow
2013/5/17 Kjow antispamm...@gmail.com and added the three options to fpc.cfg ... #ifdef android #ifdef cpuarm -FlC:\Android\NDK\android-ndk-r8e\platforms\android-14\arch-arm\usr\lib -CfVFPV3 -OoFASTMATH -CpARMV7A #endif #endif ... PS I removed everything from project-project

Re: [Lazarus] ARMV7

2013-05-17 Thread Sven Barth
Am 17.05.2013 17:12, schrieb Kjow: 2013/5/17 Sven Barth pascaldra...@googlemail.com mailto:pascaldra...@googlemail.com And as I wrote in my mail you need to apply this to all other packages AND the IDE options (because these are used for the packages FCLLaz and LCL) as well (or add

Re: [Lazarus] ARMV7

2013-05-17 Thread Kjow
2013/5/17 Sven Barth pascaldra...@googlemail.com Am 17.05.2013 17:12, schrieb Kjow: Unfortunately performances are the same, so they are terrible. It's likely that the LCL doesn't do that much floating point operations and is simply rather heavy... Is it possible to show at runtime if

Re: [Lazarus] ARMV7

2013-05-16 Thread Kjow
2013/5/15 Kjow antispamm...@gmail.com Lazarus can build ARMV7A projects, but no luck with VFPV3. Nobody knows how to enable fpu for arm on Lazarus? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] ARMV7

2013-05-15 Thread Kjow
Hi, 2013/5/15 leledumbo leledumbo_c...@yahoo.co.id Isn't the error message clear enough? The error is clear, but the solution is not... PPU Loading C:\Develop\fpc\2.7.x\units\arm-android\rtl\system.ppu Trying to use a unit which was compiled with a different FPU mode The compiler

Re: [Lazarus] ARMV7

2013-05-15 Thread Kjow
2013/5/15 Kjow antispamm...@gmail.com Hi, 2013/5/15 leledumbo leledumbo_c...@yahoo.co.id Isn't the error message clear enough? The error is clear, but the solution is not... PPU Loading C:\Develop\fpc\2.7.x\units\arm-android\rtl\system.ppu Trying to use a unit which was compiled

Re: [Lazarus] ARMV7

2013-05-15 Thread leledumbo
also physically deleting C:\Develop\fpc\2.7.x\units\arm-android directory and recompiling fpc with CROSSOPT=-CfVFPV3 -OoFASTMATH -CpARMV6 I get the same error. This is what I actually mean by cleaning up your arm-android installation. If you've done that, then retry: if I use only

Re: [Lazarus] ARMV7

2013-05-15 Thread Kjow
2013/5/15 leledumbo leledumbo_c...@yahoo.co.id also physically deleting C:\Develop\fpc\2.7.x\units\arm-android directory and recompiling fpc with CROSSOPT=-CfVFPV3 -OoFASTMATH -CpARMV6 I get the same error. This is what I actually mean by cleaning up your arm-android installation. If

Re: [Lazarus] ARMV7

2013-05-15 Thread Kjow
2013/5/14 Kjow antispamm...@gmail.com Hi all, I'm trying to build androidlcl test project with ARMV7 VFPV3, but there are problems. [cut] Can I solve both ARMV7 and VFPV3? Well, about ARMV7 I think I have understood now. According to http://en.wikipedia.org/wiki/ARM_architecture I need

Re: [Lazarus] ARMV7

2013-05-14 Thread leledumbo
Isn't the error message clear enough? PPU Loading C:\Develop\fpc\2.7.x\units\arm-android\rtl\system.ppu Trying to use a unit which was compiled with a different FPU mode The compiler tries to load the system unit, but it's compiled with different FPU mode that the one you're targetting with.