[Lazarus] FPC cross compiling

2012-03-26 Thread Antonio Fortuny
Hi all. I want to turn my current Lazarus installation to cross-compile for Linux. The current environment is: - openSuse 12.1 x86_64 - FPC 2.4.4 x86_64 - Lazarus 0.9.31 x86_64 I want to compile for Linux i386 too. I have dowloaded installed ppc386 and compiled fpc basics using: 0. # cd

Re: [Lazarus] FPC cross compiling

2012-03-26 Thread Sven Barth
Am 26.03.2012 09:52, schrieb Antonio Fortuny: Hi all. I want to turn my current Lazarus installation to cross-compile for Linux. The current environment is: - openSuse 12.1 x86_64 - FPC 2.4.4 x86_64 - Lazarus 0.9.31 x86_64 I want to compile for Linux i386 too. I have dowloaded installed

Re: [Lazarus] Threads

2012-03-26 Thread Lukasz Sokol
On 23/03/2012 16:10, Michael Schnell wrote: BTW.: Do you know this ? www.eecs.berkeley.edu/Pubs/TechRpts/2006/EECS-2006-1.pdf -Michael O:-) Cool especially the last sentence... Threads must be relegated to the engine room of computing, to be suffered only by expert technology providers

Re: [Lazarus] wiki on a new server

2012-03-26 Thread Felipe Monteiro de Carvalho
Hello, To me it looses the page layout completely after logging in turning into a mess. To fix this, I had to change the Appearance in preferences from the default value Chick to anything else. It seams that Chick is broken, tested with both Opera and Firefox and Windows, Mac and Linux. --

Re: [Lazarus] wiki on a new server

2012-03-26 Thread Sven Barth
Am 26.03.2012 11:35, schrieb Felipe Monteiro de Carvalho: Hello, To me it looses the page layout completely after logging in turning into a mess. To fix this, I had to change the Appearance in preferences from the default value Chick to anything else. It seams that Chick is broken, tested with

Re: [Lazarus] Size of binaries etc.

2012-03-26 Thread Marco van de Voort
On Sun, Mar 25, 2012 at 03:33:17PM +0300, Juha Manninen wrote: I added -CX to the Configure Build Lazarus dialog for Optimized IDE profile on my Mint Linux 64-bit + QT mapping. It made absolutely no difference for executable size! Why? -CX compiles units with smartlinking -XX compiles

Re: [Lazarus] Size of binaries etc.

2012-03-26 Thread Juha Manninen
On Mon, Mar 26, 2012 at 12:49 PM, Marco van de Voort mar...@stack.nlwrote: -CX compiles units with smartlinking -XX compiles binaries with smartlinking. When -XX is used, only units compiled with -CX will give size benefits (if relevant) Ok, I added -XX and rebuilt Lazarus. Still the

Re: [Lazarus] Size of binaries etc.

2012-03-26 Thread Sven Barth
Am 26.03.2012 12:10, schrieb Juha Manninen: On Mon, Mar 26, 2012 at 12:49 PM, Marco van de Voort mar...@stack.nl mailto:mar...@stack.nl wrote: -CX compiles units with smartlinking -XX compiles binaries with smartlinking. When -XX is used, only units compiled with -CX will give

Re: [Lazarus] Size of binaries etc.

2012-03-26 Thread Juha Manninen
On Mon, Mar 26, 2012 at 1:13 PM, Sven Barth pascaldra...@googlemail.comwrote: Did this also trigger a recompile of the LCL and all used packages? Otherwise it might indeed be linker related. Yes, all units and packages are built automatically when the options are changed in Configure Build

Re: [Lazarus] wiki on a new server

2012-03-26 Thread Vincent Snijders
Op 26 maart 2012 11:35 heeft Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com het volgende geschreven: Hello, To me it looses the page layout completely after logging in turning into a mess. To fix this, I had to change the Appearance in preferences from the default value Chick

Re: [Lazarus] Threads

2012-03-26 Thread Mark Morgan Lloyd
Lukasz Sokol wrote: On 23/03/2012 16:10, Michael Schnell wrote: BTW.: Do you know this ? www.eecs.berkeley.edu/Pubs/TechRpts/2006/EECS-2006-1.pdf -Michael O:-) Cool especially the last sentence... Threads must be relegated to the engine room of computing, to be suffered only by expert

Re: [Lazarus] wiki on a new server

2012-03-26 Thread Felipe Monteiro de Carvalho
Also our old CSS values disappeared, for example: class=working http://wiki.lazarus.freepascal.org/Roadmap -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] ETL tool - make or use?

2012-03-26 Thread Marc Santhoff
Hi again, at first thanks for all the input. Summing up it boils down to hacking together some quick lines is the most used option - which I agree with in the end. Although those tasks pop up quite often in my todo list, it is still not enough to make something bigger and better. In the past I

Re: [Lazarus] ETL tool - make or use?

2012-03-26 Thread Marc Santhoff
Am Samstag, den 24.03.2012, 09:21 +0100 schrieb Andreas Schneider: On Friday, March 23, 2012 20:05 Michael Van Canneyt wrote: Always option 1. Because it always turns out you need to check for doubles and do updates; making self written code the most optimal tool. You always know your

Re: [Lazarus] ETL tool - make or use?

2012-03-26 Thread Marc Santhoff
Am Freitag, den 23.03.2012, 19:04 + schrieb Mark Morgan Lloyd: Marc Santhoff wrote: What do you use for ETL tasks? I'm a heretic: I tend to use Perl. I notice that somebody's embedded Perl in Delphi- I wonder if that would be portable to FPC? Ahh, now I read the bad word two

Re: [Lazarus] Threads

2012-03-26 Thread Lukasz Sokol
On 26/03/2012 12:24, Mark Morgan Lloyd wrote: Cool especially the last sentence... Threads must be relegated to the engine room of computing, to be suffered only by expert technology providers Equally significant, in my view, is the second sentence: Languages require little or no

Re: [Lazarus] ETL tool - make or use?

2012-03-26 Thread Marc Santhoff
Am Montag, den 26.03.2012, 15:22 +0200 schrieb Marc Santhoff: If Java plus Swing is what they use - this is one really good way to go. That thingy can handle text file, relational databases, e-mails and services - I really do like it. As long as it works. ;) Oops, I wrote Swing all the time

Re: [Lazarus] FPC cross compiling

2012-03-26 Thread Antonio Fortuny
Le 26/03/2012 10:21, Sven Barth a écrit : I would do a make all CPU_TARGET=i386 at the top level of the fpc source directory (you need to have full FPC sources for compilation). Then you can do a make crossinstall CPU_TARGET=i386 When you've done this please report back whether your

Re: [Lazarus] FPC cross compiling

2012-03-26 Thread Sven Barth
Am 26.03.2012 15:38, schrieb Antonio Fortuny: Le 26/03/2012 10:21, Sven Barth a écrit : I would do a make all CPU_TARGET=i386 at the top level of the fpc source directory (you need to have full FPC sources for compilation). Then you can do a make crossinstall CPU_TARGET=i386 When you've

[Lazarus] Android build without ant

2012-03-26 Thread Felipe Monteiro de Carvalho
Hello, I see that some people that follow this list have been doing this with the FPC Java port, so I though: Does anyone have a script which does the calls to build an APK (right from beginning, that is, building Java code, till the APK signing for debug). I'm not interrested in FPC Java, but I

Re: [Lazarus] Android build without ant

2012-03-26 Thread michael . vancanneyt
On Mon, 26 Mar 2012, Felipe Monteiro de Carvalho wrote: Hello, I see that some people that follow this list have been doing this with the FPC Java port, so I though: Does anyone have a script which does the calls to build an APK (right from beginning, that is, building Java code, till the

Re: [Lazarus] Android build without ant

2012-03-26 Thread Felipe Monteiro de Carvalho
Ok, I reviewed old threads and found a download link: http://web390.server-drome.com/files/trainlog.zip thanks =) -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Android build without ant

2012-03-26 Thread Sven Barth
Am 26.03.2012 16:47, schrieb Felipe Monteiro de Carvalho: Ok, I reviewed old threads and found a download link: http://web390.server-drome.com/files/trainlog.zip thanks =) Bingo ;) If you need help, please feel free to ask. PS: One of the tools is considered deprecated (and will print

Re: [Lazarus] Android build without ant

2012-03-26 Thread Felipe Monteiro de Carvalho
Hello, Ok, so far I have this script: = cmd SET PATH=C:\Programas\android-sdk\tools;C:\Programas\android-sdk\platform-tools\;C:\Progra~1\Java\jdk1.6.0_20\bin mkdir bin mkdir bin\classes javac -classpath C:\Programas\android-sdk\platforms\android-8\android.jar -d bin\classes

Re: [Lazarus] wiki on a new server

2012-03-26 Thread Vincent Snijders
Op 26 maart 2012 14:25 heeft Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com het volgende geschreven: Also our old CSS values disappeared, for example: class=working http://wiki.lazarus.freepascal.org/Roadmap I will look into that. Vincent --

Re: [Lazarus] Android build without ant

2012-03-26 Thread Felipe Monteiro de Carvalho
Hello, Ok, now I advanced a lot =) = REM Adjust these paths to yours SET PATH=C:\Programas\android-sdk\tools;C:\Programas\android-sdk\platform-tools\;C:\Progra~1\Java\jdk1.6.0_20\bin SET ANDROID_HOME=C:\Programas\android-sdk SET

Re: [Lazarus] Android build without ant

2012-03-26 Thread Sven Barth
Am 26.03.2012 17:19, schrieb Felipe Monteiro de Carvalho: Hello, Ok, so far I have this script: = cmd SET PATH=C:\Programas\android-sdk\tools;C:\Programas\android-sdk\platform-tools\;C:\Progra~1\Java\jdk1.6.0_20\bin mkdir bin mkdir bin\classes javac -classpath

Re: [Lazarus] Is it meaningful or possible to change the visibility or the properties and events in a form or datamodule, ie make the private or protected?

2012-03-26 Thread Frank Church
On 23 March 2012 14:15, michael.vancann...@wisa.be wrote: On Fri, 23 Mar 2012, Michael Fuchs wrote: Am 23.03.2012 14:55, schrieb Frank Church: [...]  I'd prefer to look only at the public section and say, Oh, this is what it does for the program's other modules. Whatever isn't there is