Re: [Lazarus] conditional/platform dependent package requirement

2013-05-17 Thread Mattias Gaertner
On Fri, 17 May 2013 20:14:16 +0200 Benito van der Zander wrote: > Hi, > is there a way to have conditional package requirements? > > Specific example: have a package that requires FCL and LCL, if compiled > on Android, but only FCL, > if compiled everywhere else. No. It is planned, but has lo

Re: [Lazarus] TextHeight in Console App

2013-05-17 Thread Mattias Gaertner
On Thu, 16 May 2013 05:54:50 -0300 Flávio Etrusco wrote: >[...] > Is it a design decision that "NoGUI does not do much more than satisfy > some open externals when linking a Lazarus based project" or is it > just lack of manpower? Lack of manpower. Mattias -- __

Re: [Lazarus] ARMV7

2013-05-17 Thread Kjow
2013/5/17 Sven Barth > 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 the program is assem

[Lazarus] conditional/platform dependent package requirement

2013-05-17 Thread Benito van der Zander
Hi, is there a way to have conditional package requirements? Specific example: have a package that requires FCL and LCL, if compiled on Android, but only FCL, if compiled everywhere else. Benito -- ___ Lazarus mailing list Lazarus@lists.lazarus.free

Re: [Lazarus] ARMV7

2013-05-17 Thread Sven Barth
Am 17.05.2013 17:12, schrieb Kjow: 2013/5/17 Sven Barth > 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

Re: [Lazarus] ARMV7

2013-05-17 Thread Kjow
2013/5/17 Kjow > 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 options-> Othe

Re: [Lazarus] ARMV7

2013-05-17 Thread Kjow
2013/5/17 Sven Barth > 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. > > Regards, > Sven > Whops

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 > > > 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 whi

Re: [Lazarus] ARMV7

2013-05-17 Thread Sven Barth
Am 17.05.2013 14:32, schrieb Kjow: 2013/5/17 Sven Barth > 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 th

Re: [Lazarus] ARMV7

2013-05-17 Thread Kjow
2013/5/17 Sven Barth > 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 the RTL with VFPV3 and

Re: [Lazarus] ARMV7

2013-05-17 Thread Sven Barth
Am 15.05.2013 16:07, schrieb Kjow: 2013/5/14 Kjow 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 understood now. According

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 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 r13!,{r4,

Re: [Lazarus] Debugging fixed strings in UTF8 encoding

2013-05-17 Thread Martin
On 27/03/2013 04:08, Ernest V Miller wrote: I see value of utf8 in russian. And I am absolutely happy. But as soon as I want to use fixed strings, the only way for me to see my native language when debugging is to declare an additional string var as you can see below: I committed a partial fix

Re: [Lazarus] ARMV7

2013-05-17 Thread Kjow
2013/5/17 Marc Santhoff > 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 compiler options y

Re: [Lazarus] ARMV7

2013-05-17 Thread Marc Santhoff
Am Mittwoch, den 15.05.2013, 16:07 +0200 schrieb Kjow: > 2013/5/14 Kjow > > > 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 away f