Re: [fpc-devel] Lazarus keeps it's secrets

2010-03-03 Thread Michael Schnell
On 03/01/2010 07:29 PM, Mattias Gaertner wrote: Have you set the target OS in the compiler options to linux? I just did a normal installation and the program I compile does work. So I can't imagine that the compiler options are wrong. Seemingly the IDE sees some of these options wrong. Can

Re: [fpc-devel] Lazarus keeps it's secrets

2010-03-03 Thread Mattias Gaertner
On Wed, 03 Mar 2010 09:40:53 +0100 Michael Schnell mschn...@lumino.de wrote: On 03/01/2010 07:29 PM, Mattias Gaertner wrote: Have you set the target OS in the compiler options to linux? I just did a normal installation and the program I compile does work. Then you see the linux

Re: [fpc-devel] Lazarus keeps it's secrets

2010-03-03 Thread Michael Schnell
On 03/03/2010 10:21 AM, Mattias Gaertner wrote: Then you see the linux implementation of PostMessage, not the windows one. :) Install a RTL with debugging info. While its obvious that this in fact is the problem (and silly me did not see it :( ): How come LCL is installed with, and

Re: [fpc-devel] Lazarus keeps it's secrets

2010-03-03 Thread Mattias Gaertner
On Wed, 03 Mar 2010 11:44:42 +0100 Michael Schnell mschn...@lumino.de wrote: [...] Install a RTL with debugging info. While its obvious that this in fact is the problem (and silly me did not see it :( ): How come LCL is installed with, and RTL is installed without debugging

Re: [fpc-devel] Lazarus keeps it's secrets

2010-03-03 Thread Jonas Maebe
On 03 Mar 2010, at 12:18, Mattias Gaertner wrote: On Wed, 03 Mar 2010 11:44:42 +0100 Michael Schnell mschn...@lumino.de wrote: How come LCL is installed with, and RTL is installed without debugging information ? To fit most user expectations. For example: if the RTL is compiled with

Re: [fpc-devel] Lazarus keeps it's secrets

2010-03-03 Thread Flávio Etrusco
On Wed, Mar 3, 2010 at 9:08 AM, Jonas Maebe jonas.ma...@elis.ugent.be wrote: On 03 Mar 2010, at 12:18, Mattias Gaertner wrote: On Wed, 03 Mar 2010 11:44:42 +0100 Michael Schnell mschn...@lumino.de wrote: How come LCL is installed with, and RTL is installed without debugging information ?

Re: [fpc-devel] Lazarus keeps it's secrets

2010-03-03 Thread Michael Schnell
On 03/03/2010 01:08 PM, Jonas Maebe wrote: For example: if the RTL is compiled with debugging information, step into will also step into every reference count increase and decrease, every copy operation of one ansi/short/widestring to another one, every iocheck operation, every threadvar

Re: [fpc-devel] fpc on arm-linux-uclibc and OABI

2010-03-03 Thread Nataraj S Narayan
Hi Henry Program received signal SIGSEGV, Segmentation fault. 0x001727dc in TQTOBJECT__BEGINEVENTPROCESSING (this=0x16bc38) at qtobjects.pas:820 820 inc(FInEventCount); Current language: auto; currently pascal (gdb) bt #0 0x001727dc in TQTOBJECT__BEGINEVENTPROCESSING (this=0x16bc38) at

Re: [fpc-devel] Lazarus keeps it's secrets

2010-03-03 Thread Marco van de Voort
On Wed, Mar 03, 2010 at 11:44:42AM +0100, Michael Schnell wrote: How come LCL is installed with, and RTL is installed without debugging information ? It is the same with Delphi. In a new Delphi project use debug dcu's is off too. ___ fpc-devel

Re: [fpc-devel] Lazarus keeps it's secrets

2010-03-03 Thread Marco van de Voort
On Wed, Mar 03, 2010 at 01:30:41PM +0100, Jonas Maebe wrote: And how to enable debug info only for FCL and packages?... After building normally and before doing the make install: make `pwd`/compiler/ppc386 packages_clean packages_all OPT=-O- -gl (if you're not under unix: replace

Re: [fpc-devel] Lazarus keeps it's secrets

2010-03-03 Thread Jonas Maebe
On 03 Mar 2010, at 18:16, Marco van de Voort wrote: n Wed, Mar 03, 2010 at 01:30:41PM +0100, Jonas Maebe wrote: And how to enable debug info only for FCL and packages?... After building normally and before doing the make install: make `pwd`/compiler/ppc386 packages_clean packages_all